Last updated: July 3, 2024

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 or MM/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 codeDescriptionCard numberCountry code

200N7

Decline for CVV2 failure

4734868958733862

US

200R3

Issuer initiated a stop payment (revocation order) for all authorizations

4567361325981788

GB

20001

Refer to card issuer

4111111111111129

US

20012

Invalid transaction

4024007103573027

US

20014

Invalid card number

4485381577182090

US

20051

Insufficient funds

4544249167673670

GB

20054

Expired card

4724117215951699

GB

4000141680788456
(Prepaid card)

20057

Transaction not permitted to cardholder

4659465888705671

(for AFT payments)

GB

4151512736305999

(for non-AFT payments)

GB

20059

Suspected fraud

4897453568485113

US

4000144348235050
(Prepaid card)

20061

Activity amount limit exceeded

4556294593757189

UY

20062

Restricted card

4818924250131070

GB

20063

Security violation

4556253752712245

US

20068

One of:

  • response received too late, or there was a timeout
  • transaction rejected
  • internal error

4095254802642505

US

20078

Blocked, first use - transaction from new cardholder, card not properly unblocked

4532819413487978

US

20082

No security model

4732789363145785

PR

4000140542610783
(Prepaid card)

20154

3DS authentication required

4500622868341387

CA

30015

No such issuer

4024007162185267

US

30041

Lost card – pick up

4941202060999329

GB

30043

Stolen card – pick up

4539253655711767

IE

20109

One of:

  • authorization was previously reversed or voided
  • the capture amount is larger than the initial authorization amount

4000140543766022

1
{
2
"source": {
3
"type": "card",
4
"number": "4544249167673670",
5
"cvv": "100",
6
"expiry_month": 12,
7
"expiry_year": 2030
8
},
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 typeCard numberResponse codeCountry code

Credit

4242424242424242

10000

GB

Credit

4273149019799094

Card Verification (amount: 0), Capture, and Void actions are declined for this card.

10000

TR

Credit

4539467987109256

20005

ES

Credit

4024007181869214

20005

US

Credit

4916301720257093

20020

US

Credit

4485899805156040

200R1

US

Debit

4659105569051157

10000

GB

Debit

4095254802642505

20068

US

Prepaid

4000148147058142

20020


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 or MM/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.

Screenshot of 3DS simulator with prompt to enter password

SchemeCard typeCard numberCountry codeResult

American Express

Credit

345678901234564

ES

Authentication successful

Cartes Bancaires or Mastercard

Credit

5137210000000018

FR

Cartes Bancaires or Visa

Credit

4010056200000018

FR

Mastercard

Credit

5588686116426417

CN

Visa

Credit

4485040371536584

US

American Express

Credit

371064645462927

US

Not authenticated

Cartes Bancaires or Mastercard

Credit

5132562600000029

FR

Cartes Bancaires or Visa

Credit

4022050100000000

FR

Mastercard

Credit

5309961755464047

BR

Visa

Debit

4539628347117863

AD

American Express

Credit

344282679519362

US

Authentication could not be performed

Cartes Bancaires or Mastercard

Credit

5132562600000011

FR

Cartes Bancaires or Visa

Credit

4022050100000018

FR

Mastercard

Credit

5234106378657904

KR

Visa

Credit

4024007186645015

US

Cartes Bancaires or Mastercard

Credit

5132562600000029

FR

Attempted authentication

Cartes Bancaires or Visa

Credit

4022050100000026

FR

Mastercard

Debit

5558468902774508

KE

Visa

Credit

4556574722325580

PT

American Express

Credit

343397288296672

US

Authentication rejected

Mastercard

Debit

5596061690670931

IN

Visa

Credit

4275765574319271

JP

American Express

Credit

378282246310005

US

Card not enrolled

Cartes Bancaires or Mastercard

Credit

5132562600000045

FR

Cartes Bancaires or Visa

Credit

4022050100000182

FR

Mastercard

Debit

5352151570003404

FR

Visa

Credit

4484070000035519

GB

American Express

Credit

378702153281139

US

Error message during scheme communication

Cartes Bancaires or Mastercard

Credit

5132562600000060

FR

Cartes Bancaires or Visa

Credit

4022050100000133

FR

Mastercard

Credit

5291144083573579

US

Visa

Credit

4452927588210665

US

American Express

Credit

340282533032846

US

No associated 3DS method URL

DCI

Credit

36747880216043

US

JCB

Credit

3528982710432481

JP

Mastercard

Credit

5121073611487018

US

Visa

Credit

4556085951507152

ES


SchemeCard typeCard numberCountry codeResult

American Express

Credit

372688581899681

US

Authentication successful

Cartes Bancaires or Mastercard

Credit

5137210000000158

FR

Cartes Bancaires or Visa

Debit

4010061700000021

FR

Mastercard

Credit

5385308360135181

US

Visa

Credit

4242424242424242

GB

American Express

Credit

346126139326850

US

Authentication attempted

Cartes Bancaires or Mastercard

Credit

5341034800000008

FR

Cartes Bancaires or Visa

Credit

4150561000000001

FR

Mastercard

Debit

5518832400606463

US

Visa

Credit

4152868552773614

BH

American Express

Credit

375982239796002

US

Authentication rejected

Cartes Bancaires or Mastercard

Credit

5341034800000016

FR

Cartes Bancaires or Visa

Credit

4150561000000019

FR

American Express

Credit

347411540178242

US

Not authenticated

Cartes Bancaires or Mastercard

Credit

5341034800000024

FR

Cartes Bancaires or Visa

Credit

4150561000000027

FR

Mastercard

Credit

5258901507741160

CA

Visa

Credit

4243754271700719

US

American Express

Credit

377990956548835

US

Authentication could not be performed

Cartes Bancaires or Mastercard

Credit

5341034800000032

FR

Cartes Bancaires or Visa

Credit

4150561000000035

FR

Mastercard

Credit

5569757734785691

US

Visa

Debit

4447336775378848

US

Cartes Bancaires or Mastercard

Credit

5341034800000040

FR

Error message during scheme communication

Cartes Bancaires or Visa

Credit

4150561000000043

FR

Mastercard

Prepaid

5572408422189334

IE

Visa

Credit

4539929207120660

IN

American Express

Credit

372310461284948

US

No associated 3DS method URL

Cartes Bancaires or Mastercard

Credit

5341034800000057

FR

Cartes Bancaires or Visa

Credit

4150561000000183

FR

DCI

Credit

36138956596288

AT

JCB

Credit

3528682570029332

JP

Mastercard

Credit

5259410220714099

US

Visa

Credit

4485597929486000

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.

SchemeCard typeCard numberCVVCountry code

JCB (UK only)

Credit

3530111333300000

100

JP

Mastercard

Debit

5352151570003404

100

FR

Visa

Credit

4532432452900131

257

DE


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 numberResponse codeDescriptionCountry code

4644968546281686

20012

Invalid transaction

GB

5355228287185489

4546381219393284

20051

Insufficient funds

GB

5355229757805879

4543611423334994

20061

Activity amount limit

GB

5355222589678168

4857662623668665

20062

Restricted card

GB

5355225201525238

4407108123937239

20063

Security violation

GB

5355226042898974


To simulate declined incremental authorizations, use any of the following cards. Learn more about incremental authorization.

Card numberResponse codeError codeCountry code

4659959652550685

N/A

incremental_authorization_unsupported

NO

4446900535698356

N/A

incremental_authorization_restricted_for_mcc

US

4140253846048187

20005

N/A

KR

4556447238607884

20068

N/A

GR


You can simulate the process of performing a payment with an expired payment instrument, and then reattempting the payment after updating the payment instrument details.

  1. Create a payment instrument using one of the following test card numbers and set the expiry date to any date in the past:
SchemeCard typeCard numberCVV

Visa

Debit

4532446037926437

Any three-digit number

Mastercard

Debit

5287286878576972

Any four-digit number

  1. Request a payment using the payment instrument. The payment will fail with a 20054 response code due to the card being expired.
  2. Update the payment instrument and set the new expiry date to any date in the future. In a live environment, you'd need to contact your customer and ask them to provide updated payment details.
  3. Request a payment using the updated payment instrument. The payment will succeed with a 10000 response code.

Use the following consumer debit test cards to simulate different response code outcomes for a payout:

Response codeCard numberCountry code

10000

4921817844445119

UK

4978313915783283

FR

4076613139850359

SG

4024764449971519

US

20005

4818192525595285

UK

4558473893020179

FR

4811553373235190

SG

4610179846730147

US

20057

4818192160565981

UK

4975992266555193

FR

4815649658513826

SG

4610174464118832

US