{{ __('Interactive API Testing') }}

{{ __('Test') }} {{ setting('site_title') }} {{ __('API endpoints directly from this documentation. Use the demo credentials below for sandbox testing.') }}

{{-- Demo Payment Information Card --}}
{{ __('Demo Payment Information') }} {{ __('SANDBOX MODE') }}

{{ __('Use these demo credentials to test all payment methods in sandbox environment') }}:

{{ __('Demo Wallet') }}
{{ __('Wallet ID') }}: 123456789 {{ __('Wallet PIN') }}: 123456
{{ __('Auto-approved in sandbox') }}
{{ __('Demo Voucher') }}
{{ __('Voucher Code') }}: TESTVOUCHER
{{ __('Instant redemption') }}
{{ __('Gateway Payment') }}
{{ __('Behavior') }}: {{ __('Auto Success') }}
{{ __('No external redirection') }}
{{ __('Testing Guidelines') }}
  • {{ __('Environment Header') }}: {{ __('Always include') }} X-ENVIRONMENT: sandbox {{ __('in your API requests') }}
  • {{ __('Demo Credentials') }}: {{ __('Use the provided demo wallet/voucher codes for testing payment flows') }}
  • {{ __('Sandbox Behavior') }}: {{ __('All payments auto-complete successfully without real money processing') }}
  • {{ __('Gateway Controls') }}: {{ __('Hosted checkout respects the gateways configured from Merchant API Config for the selected currency.') }}
  • {{ __('Transaction Status') }}: {{ __('Sandbox transactions are marked with "SANDBOX_TRANSACTION" in remarks') }}
  • {{ __('IPN Notifications') }}: {{ __('Webhook notifications work normally in sandbox mode') }}
{{ __('Environment Setup') }}: {{ __('Use') }} sandbox {{ __('for testing and') }} production {{ __('for live transactions. Only sandbox credentials use') }} test_ {{ __('prefix, production credentials have no prefix.') }}
{{ __('API Testing Console') }}
{{ __('Authentication Headers') }}
{{ __('Sandbox: test_*, Production: no prefix') }}
{{ __('Sandbox: test_*, Production: no prefix') }}
{{ __('Used locally to generate X-Signature. Prefer sandbox secrets in the browser console.') }}
{{ __('Request Parameters') }}
{{ __('Currency code must be uppercase (e.g. USD, EUR, BDT). You must use the currency that matches your merchant shop setup.') }}
{{ __('Limit checkout methods by name. Accepts CSV string or JSON array. Case-insensitive.') }}
{{ __('Sandbox Environment') }}

{{ __('Base URL') }}: {{ request()->getSchemeAndHttpHost() }}

{{ __('Environment Header') }}: X-Environment: sandbox

{{ __('Credentials') }}: {{ __('Use') }} test_ {{ __('prefixed keys') }}

{{ __('Purpose') }}: {{ __('Safe testing without real money') }}

{{ __('Production Environment') }}

{{ __('Base URL') }}: {{ request()->getSchemeAndHttpHost() }}

{{ __('Environment Header') }}: X-Environment: production

{{ __('Credentials') }}: {{ __('No prefix for production keys') }}

{{ __('Purpose') }}: {{ __('Live transactions with real money') }}

@push('scripts') @endpush