Available Testing Cards for Payment Integrations
When working with payment integrations, it's essential to use specific test card numbers to ensure everything functions correctly before going live. Below are the available test cards for different payment processors, including Authorize.net, Stripe, and NMI (Network Merchants Inc.).
Test Card Numbers for Authorize.net
These test credit card numbers are only valid in the sandbox environment. Ensure to use an expiration date after today's date. If a card code is required, use any 3-digit combination for Visa, Mastercard, Discover, Diners Club, EnRoute, and JCB, and a 4-digit combination for American Express.
Test Card Brand | Number |
American Express | 370000000000002 |
Discover | 6011000000000012 |
JCB | 3088000000000017 |
Diners Club/ Carte Blanche | 38000000000006 |
Visa | 4007000000027 |
Visa | 4012888818888 |
Visa | 4111111111111111 |
Mastercard | 5424000000000015 |
Mastercard | 2223000010309703 |
Mastercard | 2223000010309711 |
Test Cards for Stripe
For Stripe integration, the following test cards can be used. Remember to use any 3-digit code and a future expiration date.
Test Card Type | Number |
Visa | 4242424242424242 |
Visa (debit) | 4000056655665556 |
Mastercard | 5555555555554444 |
Mastercard (2-series) | 2223003122003222 |
Mastercard (debit) | 5200828282828210 |
Mastercard (prepaid) | 5105105105105100 |
American Express | 378282246310005 |
American Express | 371449635398431 |
Discover | 6011111111111117 |
Discover | 6011000990139424 |
Discover (debit) | 6011981111111113 |
Diners Club | 3056930009020004 |
Diners Club (14-digit card) | 36227206271667 |
JCB | 3566002020360505 |
UnionPay | 6200000000000005 |
UnionPay (debit) | 6200000000000047 |
Test Cards for NMI (Network Merchants Inc.) Integration
For NMI's test platform, you can use any valid Primary Account Number (PAN). If none are available, you can use the following test cards. Remember to select a future expiration date and use the first 3 digits of the card number as the CSC/CVV.
Card Scheme | Card Number (PAN) |
Amex | 371111111111114 |
Diners | 3001111111111116 |
Discover | 6011111111111117 |
JCB | 35281111111111119 |
Maestro | 56410411111111113 |
Mastercard (Credit) | 5411111111111115 |
Mastercard (Debit) | 5511111111111114 |
Visa (Credit) | 4532111111111112 |
Visa (Debit) | 4751271111111118 |
These test cards are essential tools in ensuring your payment integration is seamless and functions as expected before going live.
