Test Cards
Ending in 0 approves, ending in 1 to 9 declines (sandbox only)
When you test payments on the checkout pages and/or through the API endpoints, the credit card number you use determines whether the payment is approved or not. This lets you test both authorized and unauthorized card scenarios.
Sandbox only
These cards only work in the test environment. In production the charge goes to the real acquirer, which declines these numbers.
Card number (PAN)
The last digit of the card determines authorization or decline:
| Result | Card ending |
|---|---|
| ✅ Payment approved | 0 |
| ❌ Payment declined | 1 to 9 |
Payment approved: sample cards (ending in 0)
| Brand | Number |
|---|---|
| Mastercard | 5358 7326 8161 8240 |
| Visa | 4293 5672 7563 6450 |
| Elo | 4514 1617 3512 5180 |
Payment declined: sample cards (ending in 1 to 9)
| Brand | Number |
|---|---|
| Mastercard | 5168 7948 3166 8921 |
| Visa | 4594 3598 6479 9162 |
| Elo | 5041 7541 7176 2158 |
Expiration date
For the credit card expiration date, always use a future month and year, for example: 05/2030.
CVV
For the CVV, any 3-digit number is accepted, for example: 123.