Cheatsheet of test payment cards for various payment gateways
Failed to load latest commit information.
.editorconfig Added .editorconfig file Mar 4, 2016 Added .editorconfig file Mar 4, 2016 Updated Table of Contents Jan 19, 2017

Test Payment Cards

A list of available test payment cards for various payment gateways. Please feel free to contribute cards for any payment gateways not currently listed here by making a pull request.

Table of Contents

Payment Gateways

Most payment gateways will accept any date set in the future for the card expiry date unless specified differently below.


The following test credit card numbers will only work in the Authorize.Net sandbox. If the card code is required use any 3-digit combination except for American Express which requires a 4-digit combination. See the Authorize.Net Testing Guide for further details.

Card Type Card Number(s)
American Express 370000000000002
Diners Club/ Carte Blanch 38000000000006
Discover 6011000000000012
JCB 3088000000000017
MasterCard 5424000000000015
Visa 4007000000027, 4012888818888 and 4111111111111111


The following test cards are for Bambora as defined on their developers site. Use the card expiry date "05/17".

Card Type Card Number CVC
MasterCard (Denmark) 5156 2300 0000 0004 000
MasterCard (Norway) 5206 8300 0000 0001 000
MasterCard (Sweden) 5125 8600 0000 0006 000
Visa (Denmark) 4154 2100 0000 0001 000
Visa (Norway) 4002 7700 0000 0008 000
Visa (Sweden) 4002 6200 0000 0005 000


The following card numbers do not trigger specific credit card errors:-

Card Type Card Number(s)
American Express 378282246310005 and 371449635398431
Discover 6011111111111117
JCB 3530111333300000
Maestro 6304000000000000
Mastercard 5555555555554444
Visa 4111111111111111, 4005519200000004, 4009348888881881, 4012000033330026, 4012000077777777, 4012888888881881, 4217651111111119 and 4500600000000061

To trigger an unsuccessful credit card verification use one of the following cards:-

Card Type Card Number(s) Verification Response
American Express 378734493671000 Processor declined
Discover 6011000990139424 Processor declined
Mastercard 5105105105105100 Processor declined
Visa 4000111111111115 Processor declined
JCB 3566002020360505 Failed (3000)

Further details about using Braintree test payment cards can be found on their testing page.


Card Number CVV Expiry Date
4111111111111111 123 12/16 (Or any date in the future)

Test payment card details taken from the Klarna developer documentation.


Card Type Card Number
Visa 4111111111111111

Details about using test cards in Ogone can be found here: Create and configure your Ogone Test Account.


Card Type Card Number 3DS Successful Authorisation
American Express 9905000000005139 Y Y
American Express 9905000000000015 N Y
American Express 9905000000010253 U Y
American Express 9905000000005287 Y N
American Express 9905000000000163 N N
American Express 9905000000010402 U N
Mastercard (Debit) 9900000000005159 Y Y
Mastercard (Debit) 9900000000000010 N Y
Mastercard (Debit) 9900000000010258 U Y
Mastercard (Debit) 9900000000005282 Y N
Mastercard (Debit) 9900000000000168 N N
Mastercard (Debit) 9900000000010407 U N
Mastercard (Credit) 9901000000005133 Y Y
Mastercard (Credit) 9901000000000019 N Y
Mastercard (Credit) 9901000000010257 U Y
Mastercard (Credit) 9901000000005281 Y Y
Mastercard (Credit) 9901000000000167 N Y
Mastercard (Credit) 9901000000010406 U Y
Visa (Debit) 9902000000005132 Y Y
Visa (Debit) 9902000000000018 N Y
Visa (Debit) 9902000000010256 U Y
Visa (Debit) 9902000000005280 Y N
Visa (Debit) 9902000000000166 N N
Visa (Debit) 9902000000010405 U N
Visa (Credit) 9903000000005131 Y Y
Visa (Credit) 9903000000000017 N Y
Visa (Credit) 9903000000010255 U Y
Visa (Credit) 9903000000005289 Y N
Visa (Credit) 9903000000000165 N N
Visa (Credit) 9903000000010404 U N

The above test card details for Pay360 can be found on their developers support website.


Card Type Card Number(s)
American Express 378282246310005 and 371449635398431
American Express Corporate 378734493671000
Australian BankCard 5610591081018250
Diners Club 30569309025904 and 38520000023237
Discover 6011111111111117 and 6011000990139424
JCB 3530111333300000 and 3566002020360505
MasterCard 5555555555554444 and 5105105105105100
Visa 4111111111111111, 4012888888881881 and 4222222222222


Card Type Card Number(s)
Maestro 491182014295916748
Mastercard (Credit) 5555555555554444 and 5105105105105100
Visa 4444333322221111 and 4444444444441111


Card Number Expiration CVV2 CIP Code
4548812049400004 12/20 123 123456


Card Number Description
9451123100000111 Saferpay test card "enrolled", returns ECI=1. Test card for 3D-Secure processing.
9451123100000004 Saferpay test card "not enrolled", returns ECI=2. Normal test card without 3D-Secure processing.
9451123100000202 Saferpay test card "unable to enroll", returns ECI=0. Test card for SSL processing only.
9451123100000103 Saferpay test card "Result".

Test card for special Result codes.

The last two digits of the AMOUNT attributes define the result code of the authorization response. Only if the last two digits of the value are set to "00" or "01" will payment be authorized. In doing so requests with AMOUNT "00" receive ECI=1 in the response, which means the 3-D Secure liability shift is given whilst a liability shift is not applicable for requests with AMOUNT "01" receiving ECI=0 in the response. For all other requests where AMOUNT is not "00" or "01" Saferpay will send an answer with RESULT="65" where AUTHRESULT will contain the error code.


Card Type Card Number Issue CVV2 3DS
American Express 374200000000004 1234 N/A
Diner's Club 36000000000008 123 N/A
JCB 3569990000000009 123 N/A
Laser 6304990000000000044 123 N/A
Maestro (UK) 5641820000000005 and 6759000000005 01 123 Y
Maestro (Germany) 6705000000008 01 123 Y
Maestro (Ireland) 6777000000007 01 123 Y
Maestro (Spain) 6766000000000 01 123 Y
Maestro (International) 300000000000000004 123 Y
MasterCard (Credit) 5404000000000001 123 Y
MasterCard (Credit) 5404000000000043 123 N
MasterCard (Credit) 5404000000000084 123 U
MasterCard (Credit) 5404000000000068 123 E
MasterCard (Debit) 5573470000000001 123 Y
Visa 4929000000006 123 Y
Visa 4929000005559 123 N
Visa 4929000000014 123 U
Visa 4929000000022 123 E
Visa Corporate 4484000000002 123 N
Visa Debit / Delta 4462000000000003 123 Y
Visa Electron 4917300000000008 123 Y

All test cards use the address "88" and postcode "412".

The 3DSecure responses (3DS) are:-

  • Y - Enrolled, and will progress to the password page to complete verification.
  • N - NOT Enrolled and will return a 3DSecureStatus=NOTAVAILABLE back to your system.
  • U - Unable to verify enrollment and will return a 3DSecureStatus=NOTAVAILABLE back to your system.
  • E - Error occurred during the 3D Secure verification. This will return a 3DSecureStatus=ERROR back to your system.

Full details can be found on their Test card details for your test transactions page.


Documentation for testing can be found in the SecurePay Integration guides.

Card Type Card Number CVV2
Visa 4444333322221111 123


Full details of Stipe's test cards can be found on their Testing page of their documentation.

Card Type Card Number
American Express 378282246310005 and 371449635398431
Diners Club 30569309025904 and 38520000023237
Discover 6011111111111117 and 6011000990139424
JCB 3530111333300000 and 3566002020360505
MasterCard 5555555555554444
MasterCard (Debit) 5200828282828210
MasterCard (Prepaid) 5105105105105100
Visa 4242424242424242 and 4012888888881881
Visa (Debit) 4000056655665556


Full details of WePay's test cards can be found on their Testing page of their documentation.

Card Type Card Number CVV2
American Express 378282246310005 and 371449635398431 Any
MasterCard 5496198584584769 Any
Visa 4003830171874018 Any


WorldPay test cards do not have a card verification code and issue number.

Card Type Card Number(s)
Airplus 122000000000003
American Express 34343434343434
Cartebleue 5555555555554444
Dankort 5019717010103742
Diners 36700102000000 and 36148900647913
Discover card 6011000400000000
JCB 3528000700000000
Laser 630495060000000000 and 630490017740292441
Maestro 6759649826438453 and 67999990100000000019
MasterCard 5555555555554444 and 5454545454545454
Visa 4444333322221111, 4911830000000 and 4917610000000000
Visa Debit 4462030000000000 and 4917610000000000003
Visa Electron (UK only) 4917300800000000
Visa Purchasing 4484070000000000

Further Resources

This section has some other external resources you might want to check out.



This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.