Test cards
Last updated: October 15, 2025
Use the test cards provided to test response code outcomes and simulate different payment flows. We provide test card numbers for:
- Credit cards
- Debit cards
- Prepaid cards
Note
Never test using real card numbers or card details in your sandbox environment.
To use the test cards, make a card payment request with:
- The card number listed in the table and the response code you want to test
- Any valid three-digit card verification value (CVV) for Visa and Mastercard cards, or four-digit CVV for American Express cards
- Any future card expiry date, in the format
MM/YYorMM/YYYY
Information
The sandbox environment stores payments for 30 days. You must complete a test payment flow within 30 days of creating it.
Use the following test cards to simulate a subset of our API response codes.
| Response code | Description | Card number | Country code |
|---|---|---|---|
| Transaction not supported / blocked by issuer |
|
|
| Blocked by cardholder / Contact cardholder |
|
|
| Decline for CVV2 failure |
|
|
| Issuer initiated a stop payment (revocation order) for all authorizations |
|
|
| Refer to card issuer |
|
|
| Invalid transaction |
|
|
| Invalid card number |
|
|
| Insufficient funds |
|
|
| Transaction not permitted to cardholder |
|
|
For non-AFTs |
| ||
| Suspected fraud |
|
|
Prepaid card | – | ||
| Activity amount limit exceeded |
|
|
| Restricted card |
|
|
| Security violation |
|
|
| One of:
|
|
|
| Blocked, first use – transaction from new cardholder, card not properly unblocked |
|
|
| No security model |
|
|
Prepaid card | – | ||
| 3DS authentication required |
|
|
| No such issuer |
|
|
| Lost card – pick up |
|
|
| Stolen card – pick up |
|
|
| One of:
|
| – |
1{2"source": {3"type": "card",4"number": "4544249167673670",5"cvv": "100",6"expiry_month": 12,7"expiry_year": 20308},9"currency": "USD",10"amount": 100,11"processing_channel_id": "pc_dkgoofpvuwuerekvd4ssr6jwom"12}
1{2"id": "pay_aqwuar5sjb5upkupgywyzapfii",3"action_id": "act_aqwuar5sjb5upkupgywyzapfii",4"currency": "USD",5"amount": 100,6"approved": false,7"status": "Declined",8"response_code": "20051",9"source": {10"type": "card",11"expiry_month": 12,12"expiry_year": 2030,13"last4": "3670",14"fingerprint": "F31828E2BDABAE63EB694903825CDD36041CC6ED461440B81415895855502832",15"bin": "424242"16},17"processed_on": "2023-01-17T17:41:52Z",18"_links": {19"self": {20"href": "https://api.sandbox.checkout.com/payments/pay_aqwuar5sjb5upkupgywyzapfii"21},22"actions": {23"href": "https://api.sandbox.checkout.com/payments/pay_aqwuar5sjb5upkupgywyzapfii/actions"24}25}26}
To simulate a payment, use one of the following test cards:
| Card type | Card number | Response code | Country code |
|---|---|---|---|
Credit |
|
|
|
Credit |
|
|
|
Credit |
Set payment |
|
|
Credit |
For card verifications only. Capture and Void actions are declined for this card. |
|
|
Credit |
|
|
|
Credit |
|
|
|
Credit |
|
|
|
Credit |
|
|
|
Debit |
|
|
|
Debit |
|
|
|
Prepaid |
|
| – |
Use these test cards to simulate different 3D Secure (3DS) authentication flows and results.
You can use:
- Any valid three-digit CVV for Visa and Mastercard, or four-digit CVV for American Express
- Any future expiry date, in the format
MM/YYorMM/YYYY
If your 3DS authentication test is challenged, and you're redirected to the 3DS simulator page, enter the password Checkout1!.
You can also use all cards on this page as valid network tokens.
| Card scheme | Card type | Card number | Country code | Result |
|---|---|---|---|---|
American Express | Credit |
|
| Authentication successful |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
| |
American Express | Credit |
|
| Not authenticated |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Debit |
|
| |
American Express | Credit |
|
| Authentication could not be performed |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
| |
Cartes Bancaires or Mastercard | Credit |
|
| Attempted authentication |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Debit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
| |
American Express | Credit |
|
| Authentication rejected |
Mastercard | Debit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
| |
American Express | Credit |
|
| Card not enrolled |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Debit |
|
| |
Visa | Credit |
|
| |
American Express | Credit |
|
| Error message during scheme communication |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Credit |
|
| |
Visa | Credit |
|
| |
American Express | Credit |
|
| No associated 3DS method URL |
Diners Club International (DCI) | Credit |
|
| |
JCB | Credit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
|
| Card scheme | Card type | Card number | Country code | Result |
|---|---|---|---|---|
American Express | Credit |
|
| Authentication successful |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Debit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
| |
American Express | Credit |
|
| Authentication attempted |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Debit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
| |
American Express | Credit |
|
| Authentication rejected |
Cartes Bancaires or Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Cartes Bancaires or Visa | Credit |
|
| |
American Express | Credit |
|
| Not authenticated |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
| |
American Express | Credit |
|
| Authentication could not be performed |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Debit |
|
| |
Cartes Bancaires or Mastercard | Credit |
|
| Error message during scheme communication |
Cartes Bancaires or Visa | Credit |
|
| |
Mastercard | Prepaid |
|
| |
Visa | Credit |
|
| |
American Express | Credit |
|
| No associated 3DS method URL |
Cartes Bancaires or Mastercard | Credit |
|
| |
Cartes Bancaires or Visa | Credit |
|
| |
Diners Club International (DCI) | Credit |
|
| |
JCB | Credit |
|
| |
Mastercard | Credit |
|
| |
UnionPay International | Debit |
| CN | |
Visa | Credit |
|
|
The following cards are not enabled for 3D Secure. If you request a payment with 3ds.enabled: true:
- The
response_codefield returns the code20150. - The
response_summaryfield returns the valueCard not 3D-Secure enabled.
For more information, see Response code testing.
| Card scheme | Card type | Card number | CVV | Country code |
|---|---|---|---|---|
JCB (UK only) | Credit |
|
|
|
Mastercard | Debit |
|
|
|
Visa | Credit |
|
|
|
To simulate a card verification, use the following cards. If you set:
amountto0– The card verification is successful.amountto a value greater than0– The authorization request is declined with the corresponding response code.
For more information, see Card verification.
| Card number | Response code | Description | Country code |
|---|---|---|---|
|
| Invalid transaction |
|
| |||
|
| Insufficient funds |
|
| |||
|
| Activity amount limit |
|
| |||
|
| Restricted card |
|
| |||
|
| Security violation |
|
|
For Visa credit cards only, use any of the following cards to simulate declined incremental authorizations.
For more information, see Request an incremental authorization.
| Card number | Response code | Error code | Country code |
|---|---|---|---|
| N/A |
|
|
| N/A |
|
|
|
| N/A |
|
|
| N/A |
|
You can simulate request a payment with an expired payment instrument, by updating the instrument details and then reattempting the payment.
- Create a payment instrument using one of the following test card numbers and set the expiry date to any date in the past, in the format
MM/YYorMM/YYYY:
| Card scheme | Card type | Card number | CVV |
|---|---|---|---|
Visa | Debit |
| Any three-digit number |
| |||
Prepaid card |
| ||
Mastercard | Debit |
| Any four-digit number |
- Request a payment using the payment instrument.
The payment fails and returns the response code20054because the card is expired. - Update the payment instrument and set the new expiry date to any date in the future, in the format
MM/YYorMM/YYYY.
In your production environment, you would contact your customer and ask them to provide updated payment details. - Request a new payment using the updated payment instrument.
The payment succeeds and returns the response code10000.
Use the following consumer debit test cards to simulate different response code outcomes for a payout:
| Response code | Card number | Country code |
|---|---|---|
|
|
|
|
| |
|
| |
|
| |
|
|
|
|
| |
|
| |
|
| |
|
|
|
|
| |
|
| |
|
|