Test cards
Last updated: July 17, 2023
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
Do not perform tests using real card numbers or card details in your sandbox environment.
To use the test cards, set up a card payment request with:
- the card value listed in the table alongside the response code you want to test
- any valid three-digit CVV for Visa and Mastercard cards, or a four-digit CVV for American Express cards
- any future date as the card expiry date, in the format
mm/yy
ormm/yyyy
Information
The sandbox environment stores payments for 30 days. You’ll need to complete any test payment flows within 30 days of the payment creation date.
Use the following test cards to simulate a subset of our API response codes.
Response code | Description | Card number | Country code |
---|---|---|---|
200N7 | Decline for CVV2 failure |
| US |
200R3 | Issuer initiated a stop payment (revocation order) for all authorizations |
| GB |
20001 | Refer to card issuer |
| US |
20012 | Invalid transaction |
| US |
20014 | Invalid card number |
| US |
20051 | Insufficient funds |
| GB |
20054 | Expired card |
| GB |
| – | ||
20057 | Transaction not permitted to cardholder |
(for AFT payments) | GB |
(for non-AFT payments) | GB | ||
20059 | Suspected fraud |
| US |
| – | ||
20061 | Activity amount limit exceeded |
| UY |
20062 | Restricted card |
| GB |
20063 | Security violation |
| US |
20068 | One of:
|
| US |
20078 | Blocked, first use - transaction from new cardholder, card not properly unblocked |
| US |
20082 | No security model |
| PR |
| – | ||
20154 | 3DS authentication required |
| CA |
30015 | No such issuer |
| US |
30041 | Lost card – pick up |
| GB |
30043 | Stolen card – pick up |
| IE |
20109 | 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 |
| 10000 | GB |
Credit |
Card Verification (amount: 0), Capture, and Void actions are declined for this card. | 10000 | TR |
Credit |
| 20005 | ES |
Credit |
| 20005 | US |
Credit |
| 20020 | US |
Credit |
| 200R1 | US |
Debit |
| 10000 | GB |
Debit |
| 20068 | US |
Prepaid |
| 20020 |
To simulate card verification, use the following cards. If you set amount
to 0
, the card verification will be successful. If amount
is greater than 0
, the authorization request will be declined with the corresponding response code.
Learn more about card verification.
Card number | Response code | Description | Country code |
---|---|---|---|
| 20012 | Invalid transaction | GB |
| |||
| 20051 | Insufficient funds | GB |
| |||
| 20061 | Activity amount limit | GB |
| |||
| 20062 | Restricted card | GB |
| |||
| 20063 | Security violation | GB |
|
To simulate declined incremental authorizations, use any of the following cards. Learn more about incremental authorization.
Card number | Response code | Error code | Country code |
---|---|---|---|
| N/A |
| NO |
| N/A |
| US |
| 20005 | N/A | KR |
| 20068 | N/A | GR |
Use these test cards to simulate different 3D Secure (3DS) authentication flows and results.
You can use:
- any valid CVV (for example, a three-digit number for Visa and Mastercard, a four-digit number for American Express)
- any future expiry date, in the format
mm/yy
ormm/yyyy
If your 3DS authentication test is challenged, and you're redirected to the 3DS simulator page, you will need to input the password Checkout1!
.
All cards listed on this page can also be used as valid network tokens.

Scheme | Card type | Card number | Country code | Result |
---|---|---|---|---|
American Express | Credit |
| ES | Authentication successful |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Credit |
| CN | |
Visa | Credit |
| US | |
American Express | Credit |
| US | Not authenticated |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Credit |
| BR | |
Visa | Debit |
| AD | |
American Express | Credit |
| US | Authentication could not be performed |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Credit |
| KR | |
Visa | Credit |
| US | |
Cartes Bancaires or Mastercard | Credit |
| FR | Attempted authentication |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Debit |
| KE | |
Visa | Credit |
| PT | |
American Express | Credit |
| US | Authentication rejected |
Mastercard | Debit |
| IN | |
Visa | Credit |
| JP | |
American Express | Credit |
| US | Card not enrolled |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Debit |
| FR | |
Visa | Credit |
| GB | |
American Express | Credit |
| US | Error message during scheme communication |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Credit |
| US | |
Visa | Credit |
| US | |
American Express | Credit |
| US | No associated 3DS method URL |
DCI | Credit |
| US | |
JCB | Credit |
| JP | |
Mastercard | Credit |
| US | |
Visa | Credit |
| ES |
Scheme | Card type | Card number | Country code | Result |
---|---|---|---|---|
American Express | Credit |
| US | Authentication successful |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Debit |
| FR | |
Mastercard | Credit |
| US | |
Visa | Credit |
| GB | |
American Express | Credit |
| US | Authentication attempted |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Debit |
| US | |
Visa | Credit |
| BH | |
American Express | Credit |
| US | Authentication rejected |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
American Express | Credit |
| US | Not authenticated |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Credit |
| CA | |
Visa | Credit |
| US | |
American Express | Credit |
| US | Authentication could not be performed |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Credit |
| US | |
Visa | Debit |
| US | |
Cartes Bancaires or Mastercard | Credit |
| FR | Error message during scheme communication |
Cartes Bancaires or Visa | Credit |
| FR | |
Mastercard | Prepaid |
| IE | |
Visa | Credit |
| IN | |
American Express | Credit |
| US | No associated 3DS method URL |
Cartes Bancaires or Mastercard | Credit |
| FR | |
Cartes Bancaires or Visa | Credit |
| FR | |
DCI | Credit |
| AT | |
JCB | Credit |
| JP | |
Mastercard | Credit |
| US | |
Visa | Credit |
| US |
The following cards are not enabled for 3D Secure. This means if you send a payment with 3ds.enabled: true
, you should expect the response code 20150
and the response summary Card not 3D-Secure enabled
. Learn more about response code testing.
Scheme | Card type | Card number | CVV | Country code |
---|---|---|---|---|
JCB (UK only) | Credit |
|
| JP |
Mastercard | Debit |
|
| FR |
Visa | Credit |
|
| DE |