Skip to main content
The UQPAY sandbox environment lets you test the full card issuance lifecycle — from creating cardholders and issuing cards to simulating transactions and receiving webhooks — without processing real payments.

Sandbox base URL

All API endpoints use the same paths as production. Replace the base URL when switching environments.

Test the card issuance flow

In sandbox, you create real cardholders and cards just as you would in production. There are no special “test” card numbers — the cards you create are your test cards. A typical test flow:

Simulate transactions

The simulator endpoints let you trigger authorization and reversal events on sandbox cards. These endpoints are available only in the sandbox environment.

Supported BINs

Only cards with the following BIN support simulation:

Simulate authorization

Trigger an authorization transaction on a card.
The merchant_category_code must be 5734 for simulated transactions. Other MCC values are not supported in the simulator.
This triggers an issuing.transaction.authorization webhook:

Simulate reversal

Reverse an existing approved authorization using its transaction_id.
This triggers an issuing.transaction.reversal webhook:

Webhook testing

Subscribe to webhook events in the Dashboard to receive real-time notifications during testing. See the Webhooks section for the full list of available events and their payload formats.
Use a tool like webhook.site during development to inspect webhook payloads before building your production webhook handler.