Test cards
Card numbers for testing approvals, declines, partial approvals, and 3D Secure flows in the Pay.com sandbox.
Use these card numbers to simulate payment outcomes in the sandbox. Test cards behave like live cards in the API without moving real funds.
If duplicate card checking is enabled on your sandbox account, reusing a test
card number that was already tokenized returns decline_code: duplicate_card.
Pass "duplicate_card_check": false inside payment_method_options.card in
your sandbox charge, hold, or payment session requests to allow reuse.
For any test card, supply:
- Expiration date: any future date (for example,
12/2028) - CVV: any 3-digit number (for example,
123) except777and999, or 4 digits for American Express - Billing address: any valid address, except the line 1 and postal code below
These values decline a card that would otherwise be approved, so you can
test a failed CVV or address check. The two address values decline only in
a billing address whose country is US.
| Value | Result / reason code | decline_code |
|---|---|---|
CVV 777 | Declined, bad CVV / 05 | do_not_honour |
CVV 999 | Declined, CVV2 failure / N7 | invalid_cvc |
billing_details.address.line1 714 E Cocoa St | Declined, invalid address line 1 / 05 | do_not_honour |
billing_details.address.postal_code 90221 | Declined, invalid ZIP code / 05 | do_not_honour |
Approved cards
Use these cards to simulate a successful authorization without a 3D Secure challenge.
| Card number | Brand | Funding type |
|---|---|---|
4242424242424242 | Visa | Not specified |
4111111111111111 | Visa | Credit |
5555555555554444 | Mastercard | Credit |
5555444433331111 | Mastercard | Not specified |
2223003122003222 | Mastercard | Not specified |
378282246310005 | American Express | Credit |
371449635398431 | American Express | Credit |
6011111111111117 | Discover | Not specified |
6011000990139424 | Discover | Not specified |
Declined cards
Use these cards to trigger specific issuer decline reasons.
| Card number | Decline reason |
|---|---|
4000007818415900 | Do not honor |
4000005357086322 | Insufficient funds |
4000004452879855 | Stolen card |
Partial approval cards
These cards are approved for 80% of the amount, for example 800 of a
1000 charge. Use them to test partial approvals,
which you turn on in the charge or payment session request.
| Card number | Brand |
|---|---|
4050453601459870 | Visa |
5200828282828210 | Mastercard |
3DS challenge and result cards
Use these cards to test 3D Secure authentication outcomes, including interactive challenges and post-challenge declines. The cards marked "3DS challenge" go through the challenge. To pass or fail a challenge with a test code, see Create a charge with 3DS.
| Card number | Result |
|---|---|
4000000000001000 | Approved |
5200000000001096 | 3DS challenge, approved |
4000000000001091 | 3DS challenge, declined (insufficient funds) |
4000000000001109 | 3DS challenge failure |
Additional 3DS and decline code cards
Use these cards to test specific combinations of 3D Secure authentication and issuer response codes.
| Card number | Result / reason code |
|---|---|
4001888587298851 | Expired card / 54 |
4001882420575674 | Stolen card / 43 |
4001882758168944 | 3DS + insufficient funds |
4001886514955924 | Approved (no 3DS) |
4001889458981666 | Approved (3DS) |
4444499122901754 | Do not honor / 05 |
4444491578116623 | Insufficient funds / 51 |
4444499523287118 | 3DS + insufficient funds |
4444492185088577 | Approved (no 3DS) |
4444491766949009 | Approved (3DS) |
5333303384453218 | Policy / 82 |
5333306819994367 | 3DS failure |
5333301408867512 | 3DS + insufficient funds |
5333307639217468 | Approved (no 3DS) |
5333306665631428 | Approved (3DS) |