
To test your integration, simulate transactions without moving real money using special test values in a test environment. Test cards behave like fake credit cards and let you simulate:
- Successful payments (depending on the card brand or country)
- Card errors (declines, fraud, invalid data)
- Disputes and refunds
How to use test cards
For interactive testing, use a number like 4242 4242 4242 4242 in your payment form or dashboard, and:
- A valid future expiry date, such as
12/34 - Any 3-digit CVC (4 digits for American Express)
- Any value for the remaining fields
Cards that simulate successful payments
| Card number | Type | Result | Expiry | CVC |
|---|---|---|---|---|
4242 4242 4242 4242 | Visa | Successful payment | Any future | 123 |
4000 0056 5556 5556 | Visa (debit) | Successful payment | Any future | 123 |
5555 5555 5555 4444 | Mastercard | Successful payment | Any future | 123 |
3782 822463 10005 | American Express | Successful payment | Any future | 1234 |
Cards that simulate errors
Use these to test your error-handling logic. Each returns a card error with its decline code.
| Description | Card number | Error code | Decline code |
|---|---|---|---|
| Generic decline | 4000 0000 0000 0002 | card_declined | generic_decline |
| Insufficient funds | 4000 0000 0000 9995 | card_declined | insufficient_funds |
| Lost card | 4000 0000 0000 9987 | card_declined | lost_card |
| Stolen card | 4000 0000 0000 9979 | card_declined | stolen_card |
| Expired card | 4000 0000 0000 0069 | expired_card | — |
| Incorrect CVC | 4000 0000 0000 0127 | incorrect_cvc | — |
| Processing error | 4000 0000 0000 0119 | processing_error | — |
Still stuck?
If you didn't find what you were looking for, write to us and we'll help with your specific case.