The UQPAY sandbox environment lets you test your integration without processing real transactions. All test credentials below work only in the sandbox.Documentation Index
Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/llms.txt
Use this file to discover all available pages before exploring further.
Test card numbers
Use these cards with the Create Payment Intent API. You may use any value forcard_name (e.g., “John Doe”).
For the
network field, use lowercase: mastercard, visa, unionpay. Remove spaces from card numbers. If you receive a product_not_found error, contact UQPAY technical support.| Card scheme | Card number | Expiry | CVC | Supported modes |
|---|---|---|---|---|
| Mastercard | 5413330057004047 | 12/25 | 989 | online, offline |
| Mastercard | 5346930100108117 | 12/26 | 811 | online, offline |
| Visa | 4176660000000027 | 12/33 | 303 | offline (POS) |
| UnionPay | 6250947000000014 | 12/33 | 123 | online, offline |
Card payment request example
E-wallet sandbox testing
AlipayCN & AlipayHK
Setup
- Option A: Register your own account
QR code flow
Send a payment request withflow: "qrcode" and is_present: false:
intent_status: "REQUIRES_CUSTOMER_ACTION" with a QR code URL in next_action.display_qr_code. Open the qr_code_url in a browser and scan it with the AWallet app to complete the payment.
Payment code flow (in-person)
For payment code scenarios, setis_present to true and include the customer’s payment_code:
- Open the AWallet app and tap “Payment Code”.
- Tap the barcode to view the numeric payment code.
- Use the code in your API request:
intent_status: "SUCCEEDED".
Webhook testing
To test webhook delivery:- Configure your webhook URL in the UQPAY Dashboard.
- Process a sandbox transaction (card or e-wallet).
- Verify that your server receives the webhook notification.
- Respond with HTTP 200 to acknowledge receipt.
Go-live checklist
Before switching to the production environment:- Account approved: sign up and complete KYC/KYB verification at app.uqpay.com
- Production API keys: create your production
apiKeyandclientIdin the Dashboard - Production base URL: switch all API calls to
https://api.uqpay.com - Webhook IP allowlist: allowlist the UQPAY webhook source IPs (
18.143.59.64,54.179.248.205,13.250.234.88,18.136.58.213) — see Webhooks Overview for details - Webhook subscriptions: subscribe to the webhook events your integration needs

