I’ve been working on an e-commerce system recently (as you may have been able to guess) and to test the credit card integration side of things, I needed some test credit card details of “valid looking” card numbers…
I eventually managed to gather 102 card numbers which passed validation: i.e. the Bank Identification Number [BIN] / Issuer Identification Number [IIN] numbers [the first 7 digits] matched up with the “alleged” card type and the whole card number passed the Luhn algorithm validation.
I must emphasis, before I get thousands of comments, these are TEST credit card numbers and are NOT VALID (I did not get as far as validating that they were theoretically assigned to a bank: just that they were theoretically assigned to a card issue): they are intended to test code in development to ensure that the code recognises the card type correctly and the Luhn algorithm is correct. You should, therefore, be able to use any expiry date or CCV/CSC you like for testing.
You can download these credit card numbers in a BSD released PHP file to make it easier to test with if you wish.
The developmental test card numbers are after the jump (along with details of the original sources):
Remember these are test credit card numbers and debit card numbers and are intended to validate that your development code correctly identifies the card types and validates the card. They are NOT real card numbers.
I eventually managed to gather 102 card numbers which passed validation: i.e. the Bank Identification Number [BIN] / Issuer Identification Number [IIN] numbers [the first 7 digits] matched up with the “alleged” card type and the whole card number passed the Luhn algorithm validation.
I must emphasis, before I get thousands of comments, these are TEST credit card numbers and are NOT VALID (I did not get as far as validating that they were theoretically assigned to a bank: just that they were theoretically assigned to a card issue): they are intended to test code in development to ensure that the code recognises the card type correctly and the Luhn algorithm is correct. You should, therefore, be able to use any expiry date or CCV/CSC you like for testing.
You can download these credit card numbers in a BSD released PHP file to make it easier to test with if you wish.
The developmental test card numbers are after the jump (along with details of the original sources):
| Card type | Card number | Original Source |
|---|---|---|
| American Express | 3400 0000 0000 009 | auricsystems.com |
| American Express | 3411 1111 1111 111 | miva.com |
| American Express | 3434 3434 3434 343 | auricsystems.com |
| American Express | 3434 3434 3434 343 | bibit.com |
| American Express | 3468 2763 0435 344 | darkcoding.net |
| American Express | 3700 0000 0000 002 | auricsystems.com |
| American Express | 3700 0020 0000 000 | worldpay.com |
| American Express | 3704 0726 9909 809 | darkcoding.net |
| American Express | 3705 5601 9309 221 | darkcoding.net |
| American Express | 3714 4963 5398 431 | paypal.com |
| American Express | 3742 0000 0000 004 | techprotx.com |
| American Express | 3764 6228 0921 451 | darkcoding.net |
| American Express | 3777 5274 9896 404 | darkcoding.net |
| American Express | 3782 8224 6310 005 | paypal.com |
| American Express | 3787 3449 3671 000 | paypal.com |
| Cart Blanche | 3000 0000 0000 04 | planetpdf.com |
| Cart Blanche | 3056 9309 0259 04 | paypal.com |
| Dankort | 5019 7170 1010 3742 | bibit.com |
| Dankort | 5019 7170 1010 3742 | paypal.com |
| Diners Club International | 3020 4169 3226 43 | darkcoding.net |
| Diners Club International | 3021 8047 1965 57 | darkcoding.net |
| Diners Club International | 3022 1511 5632 52 | darkcoding.net |
| Diners Club International | 3600 0000 0000 08 | techprotx.com |
| Diners Club International | 3614 8900 6479 13 | bibit.com |
| Diners Club International | 3670 0102 0000 00 | worldpay.com |
| Diners Club International | 3852 0000 0232 37 | paypal.com |
| Discover | 6011 0000 0000 0004 | planetpdf.com |
| Discover | 6011 0004 0000 0000 | worldpay.com |
| Discover | 6011 0009 9013 9424 | paypal.com |
| Discover | 6011 1111 1111 1117 | paypal.com |
| Discover | 6011 1532 1637 1980 | darkcoding.net |
| Discover | 6011 6011 6011 6611 | miva.com |
| Discover | 6011 6874 8256 4166 | darkcoding.net |
| Discover | 6011 8148 3690 5651 | darkcoding.net |
| Enroute | 2014 0000 0000 009 | planetpdf.com |
| Enroute | 2014 8112 3699 422 | darkcoding.net |
| Enroute | 2149 2598 0592 653 | darkcoding.net |
| Enroute | 2149 8397 2181 233 | darkcoding.net |
| JCB | 1800 0163 8277 392 | darkcoding.net |
| JCB | 1800 4015 3546 898 | darkcoding.net |
| JCB | 1800 5860 1526 635 | darkcoding.net |
| JCB | 3528 0007 0000 0000 | worldpay.com |
| JCB | 3528 7237 4002 2896 | darkcoding.net |
| JCB | 3530 1113 3330 0000 | paypal.com |
| JCB | 3566 0020 2036 0505 | paypal.com |
| JCB | 3569 9900 0000 0009 | techprotx.com |
| Laser | 6304 9506 0000 0000 00 | worldpay.com |
| Laser | 6304 9000 1774 0292 441 | bibit.com |
| Maestro | 6333 3333 3333 3333 336 | bibit.com |
| Mastercard | 5100 0800 0000 0000 | worldpay.com |
| Mastercard | 5105 1051 0510 5100 | paypal.com |
| Mastercard | 5111 1111 1111 1118 | auricsystems.com |
| Mastercard | 5123 6197 4539 5853 | darkcoding.net |
| Mastercard | 5138 4951 2555 0554 | darkcoding.net |
| Mastercard | 5274 5763 9425 9961 | darkcoding.net |
| Mastercard | 5301 7455 2913 8831 | thetaoofmakingmoney.com |
| Mastercard | 5311 5312 8600 0465 | thetaoofmakingmoney.com |
| Mastercard | 5364 5870 1178 5834 | darkcoding.net |
| Mastercard | 5404 0000 0000 0001 | techprotx.com |
| Mastercard | 5431 1111 1111 1111 | merchantplus.com |
| Mastercard | 5454 5454 5454 5454 | auricsystems.com |
| Mastercard | 5459 8862 6563 1843 | darkcoding.net |
| Mastercard | 5460 5060 4803 9935 | benjisimon.blogspot.com |
| Mastercard | 5500 9391 7800 4613 | thetaoofmakingmoney.com |
| Mastercard | 5555 5555 5555 4444 | paypal.com |
| Mastercard | 5565 5520 6448 1449 | thetaoofmakingmoney.com |
| Mastercard | 5597 5076 4491 0558 | thetaoofmakingmoney.com |
| Solo | 6334 5805 0000 0000 | worldpay.com |
| Solo | 6334 9000 0000 0005 | techprotx.com |
| Solo | 6334 7306 0000 0000 00 | worldpay.com |
| Solo | 6767 6222 2222 2222 222 | bibit.com |
| Solo | 6767 6767 6767 6767 671 | bibit.com |
| UK Maestro | 5641 8200 0000 0005 | techprotx.com |
| UK Maestro | 6331 1019 9999 0016 | paypal.com |
| UK Maestro | 6759 6498 2643 8453 | worldpay.com |
| Visa | 4007 0000 0002 7 | auricsystems.com |
| Visa | 4024 0071 2765 3 | darkcoding.net |
| Visa | 4222 2222 2222 2 | paypal.com |
| Visa | 4556 0692 7520 1 | darkcoding.net |
| Visa | 4556 3818 1280 6 | darkcoding.net |
| Visa | 4911 8300 0000 0 | worldpay.com |
| Visa | 4916 1839 3508 2 | darkcoding.net |
| Visa | 4916 6034 5252 8 | darkcoding.net |
| Visa | 4929 0000 0000 6 | techprotx.com |
| Visa | 4012 8888 8888 1881 | merchantplus.com |
| Visa | 4012 8888 8888 1881 | paypal.com |
| Visa | 4111 1111 1111 1111 | merchantplus.com |
| Visa | 4111 1111 1111 1111 | paypal.com |
| Visa | 4444 3333 2222 1111 | bibit.com |
| Visa | 4539 1050 1153 9664 | darkcoding.net |
| Visa | 4544 1821 7453 7267 | benjisimon.blogspot.com |
| Visa | 4716 9147 0653 4228 | darkcoding.net |
| Visa | 4916 5417 1375 7159 | darkcoding.net |
| Visa | 4916 6156 3934 6972 | darkcoding.net |
| Visa | 4917 6100 0000 0000 | worldpay.com |
| Visa Delta | 4406 0804 0000 0000 | worldpay.com |
| Visa Delta | 4462 0000 0000 0003 | techprotx.com |
| Visa Delta | 4462 0300 0000 0000 | worldpay.com |
| Visa Electron | 4917 3000 0000 0008 | techprotx.com |
| Visa Electron | 4917 3008 0000 0000 | worldpay.com |
| Visa Purchasing | 4484 0700 0000 0000 | worldpay.com |
| Visa Purchasing | 4485 6805 0271 9433 | darkcoding.net |
Leaks:
American Express - Leaked
Calculate Credit Card
Diners Club - Leaked
Discover Card - Leaked
enRoute - Leaked
Hacked Valid Credit Card
JCB - Leaked
VISA Credit Card Leaked