Test card numbers
UQPAY Test Card Information
The following test cards are provided for integration testing in the UQPAY sandbox environment. These cards will not trigger real transactions and are strictly for testing purposes.
General Guidelines
- You may use any value for card_name (cardholder name). We recommend using standard alphabetic characters (e.g., "John Doe").
- Use the provided expiry date and CVC values as shown below.
- For the
network
field, convert the card scheme to lowercase (e.g.,Mastercard
→mastercard
,Visa
→visa
,UnionPay
→unionpay
). - If you receive a product_not_found error, please contact UQPAY technical support for assistance.
- Remove spaces from the card number, if any.
Test Card List
Card Scheme | Card Number | Expiry Date (Month / Year) | CVC | Supported mode |
---|---|---|---|---|
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 |
Request example
{
"amount": "8.98",
"currency": "SGD",
"payment_method": {
"type": "card",
"card": {
"card_name": "UQPAY",
"card_number": "5346930100108117",
"expiry_month": "12",
"expiry_year": "2026",
"cvc": "811",
"network": "mastercard",
"billing": {
"first_name": "UQPAY",
"last_name": "ACQ",
"email": "[email protected]",
"phone_number": "0524-91353515",
"address": {
"country_code": "SG",
"state": "Singapore",
"city": "Singapore",
"street": "444 Orchard Rd, Midpoint Orchard, Singapore ",
"postcode": "924011"
}
},
"auto_capture":true,
"authorization_type":"authorization",
"three_ds_action":"skip_3ds"
}
},
"merchant_order_id": "ecd9f2cf-1ae1-4194-929b-c8ffe96e745f",
"description": "test",
"metadata":{"request_id":"db1d007b-b449-4360-9950-04cb0fcc6f94"},
"return_url": "https://127.0.0.1:8080/api/v1/alipay/callback"
}
Request response
{
"amount": 8.98,
"available_payment_method_types": null,
"cancel_time": "",
"cancellation_reason": "",
"captured_amount": "8.98",
"client_secret": "e******fQ.-2629PNE02PVY9n******2ivdFfJHDfNaMA",
"complete_time": "2025-06-13T16:18:14+08:00",
"create_time": "2025-06-13T16:18:14+08:00",
"currency": "SGD",
"description": "test",
"intent_status": "SUCCEEDED",
"latest_payment_attempt": {
"amount": 8.98,
"attempt_id": "PA1933438751988518912",
"attempt_status": "CAPTURE_REQUESTED",
"captured_amount": 8.98,
"complete_time": "2025-06-13T16:18:14+08:00",
"create_time": "2025-06-13T16:18:14+08:00",
"currency": "SGD",
"refunded_amount": 0,
"update_time": "2025-06-13T16:18:14+08:00"
},
"merchant_order_id": "ecd9f2cf-1ae1-4194-929b-c8ffe96e745f",
"metadata": {
"request_id": "db1d007b-b449-4360-9950-04cb0fcc6f94"
},
"next_action": null,
"payment_intent_id": "PI1933438751883661312",
"return_url": "https://127.0.0.1:8080/api/v1/alipay/callback",
"update_time": "2025-06-13T16:18:14+08:00"
}
Updated 7 days ago