Authorize.net's Official Sandbox Test Numbers
These numbers only work against sandbox credentials — use any expiration date after today's date, a 3-digit CVV for most networks (4-digit for American Express).
| Network | Number |
| Visa | 4111 1111 1111 1111 |
| Visa (alt.) | 4007 0000 0002 7 |
| Mastercard | 5424 0000 0000 0015 |
| American Express | 3700 0000 0000 002 |
| American Express (alt.) | 3782 8224 6310 005 |
| Discover | 6011 0000 0000 0012 |
| JCB | 3088 0000 0000 0017 |
| Diners Club | 3800 0000 0000 06 |
These numbers only work in Authorize.net's sandbox — they'll do nothing against production credentials or any other processor. Always confirm against
Authorize.net's official testing guide before relying on a specific number in an automated test suite.
Where Luhnly Fits In
Authorize.net's fixed list covers every major network, but it's still a small, static set of numbers. Reach for a bulk generator like Luhnly instead when you need:
- Bulk or randomized test data — seeding a staging database with many unique, harmless-looking card records
- Form-validation and UI testing — checking input masks and card-brand detection before a request ever reaches Authorize.net's API
- Load testing a checkout flow with distinct numbers rather than the same handful repeated on every run
Use Authorize.net's official numbers above for anything that actually calls their API, and Luhnly for everything upstream of that.
Frequently Asked Questions
Can I use a Luhnly-generated number with Authorize.net's sandbox?
No. Authorize.net's test card numbers only work in the sandbox and are drawn from a fixed, documented list — arbitrary Luhn-valid numbers are not accepted. Use Authorize.net's official numbers above for anything calling their API directly.
Which networks does Authorize.net's sandbox support test cards for?
Visa, Mastercard, American Express, Discover, JCB, and Diners Club all have dedicated official test numbers in Authorize.net's documentation.
What CVV should I use with Authorize.net test cards?
Any 3-digit combination for Visa, Mastercard, Discover, JCB, and Diners Club. American Express requires a 4-digit combination.