
authorize.net test card
Authorize.Net test cards are the sandbox-only card numbers developers use to simulate payments without touching a real cardholder account. They let you exercise approvals, declines, refunds, and error handling through the exact same API you will use in production. Every value is published for testing, so nothing entered in the sandbox can move real money.
Key Features
- Sandbox-only credentials that never charge a real account
- Works with the Authorize.Net API, hosted payment form, and Accept.js
- Reproduces approvals, declines, and gateway errors on demand
- Pairs with any future expiration date and any card code in test mode
- Covers voids, refunds, and partial captures for full workflow testing
- Returns the standard response fields, so your error handling gets exercised
- Uses the same request format as live mode, so no code changes are needed to switch
Numbers, Expiry, and Card Code
In test mode the gateway checks a number's format and checksum rather than real credentials, which is why published values always validate. A common starting point is 4111111111111111, a Visa test number that returns an approval; other published numbers simulate Mastercard, American Express, Discover, JCB, and Diners responses. Type any expiration date in the future and any three- or four-digit card code, and the sandbox will accept them. The important rule is that the number comes from the published test list and that your API login ID and transaction key belong to a sandbox account rather than a live one.
This is a digital reference, so there is no shipping and access is immediate after checkout. If anything is unclear or the material does not match your integration, contact us within 30 days for a replacement or refund.
What is an Authorize.Net test card used for?
It simulates a card payment in the sandbox so you can verify charge, capture, void, and refund flows before going live. It is a development tool, not a payment method.
Do test card numbers work in live mode?
No. Sandbox numbers are rejected by the production gateway, and real card numbers should never be entered into a test account.
Which test card should I start with?
Begin with a standard Visa approval number to confirm your credentials and request format, then move on to the published decline and error values.