Skip to main content
You can test your entire payment flow without processing real transactions. OwnPay supports test card numbers, sandbox gateways, and webhook simulation.

Test card numbers

Use these cards with any Stripe-based gateway configured in test mode:
Use any future expiry date, any CVC, and any postal code with these test cards.

Bkash sandbox credentials

Use those sandbox credentials for bkash:
Note: These are public sandbox credentials only. Never use them in a live/production environment. For live credentials, you must apply through the official bKash Merchant Portal

bKash Sandbox Test Wallet Numbers

bKash provides specific test wallet numbers you can use to simulate payments inside the sandbox environment.

Gateway sandbox configuration

Each gateway has a sandbox or test mode you activate from the admin panel. The table below shows where to find test credentials:

Creating a test payment via API

Use the returned checkout_url to walk through the checkout flow with a test card.

Simulating webhooks

From the Developer Hub

  1. Go to Developers → Webhooks
  2. Click Send Test Event next to your endpoint
  3. Choose an event type (for example payment.completed)
  4. OwnPay sends a realistic payload with a valid signature

Via cURL

You can also manually trigger a test event:

Testing refunds

Create a completed test payment first, then issue a refund:
Refunds in test mode are instant and do not move real money.
For deeper debugging including log inspection and request tracing, see Debug mode.
Last modified on August 25, 2026