Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Test Credit Card Account Numbers

0.00/5 (No votes)
13 Sep 2011 1  
some credit card numbers for testing purposes.

This post lists a few credit card numbers that you can use for testing.

While testing, use only the credit card numbers listed here. Other numbers might show an error.

Expiration Date must be a valid date in the future (use the mmyy format).

Test Credit Card Account Numbers - Paypal




Credit Card Type

Credit Card Number

American Express

378282246310005

American Express

371449635398431

American Express Corporate

378734493671000

Australian BankCard

5610591081018250

Diners Club

30569309025904

Diners Club

38520000023237

Discover

6011111111111117

Discover

6011000990139424

JCB

3530111333300000

JCB

3566002020360505

MasterCard

5555555555554444

MasterCard

5105105105105100

Visa

4111111111111111

Visa

4012888888881881

Visa

4222222222222

Note: Even though this number has a different character count than the other test numbers, it is a correct and functional number.

Processor-specific Cards

Dankort (PBS)

76009244561

Dankort (PBS)

5019717010103742

Switch/Solo (Paymentech)

6331101999990016

Test Credit Card Account Numbers - Authorize.Net





Credit Card Type

Credit Card Number

American Express

370000000000002

Discover Test Card 6011000000000012
Visa Test Card 4007000000027
Second Visa Test Card 4012888818888
JCB 3088000000000017
Diners Club/ Carte Blanche 38000000000006
MasterCard 5555555555554444
MasterCard 5105105105105100

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here