Test Card Number Guide for Payment Sandbox Testing

A test card number is a fake card value published by a payment processor for use in its sandbox environment. It passes the same basic checks a real card would — length, BIN range, and the Luhn algorithm — but it is never tied to a live bank account, so nothing is ever charged. Developers use these numbers to confirm that checkouts, validation rules, and error messages behave correctly before a site goes live.

Key Features

Formats and specifications

Most test card numbers follow the same structure as production cards: a brand prefix, a middle block, and a final digit that satisfies the Luhn checksum. Visa and Mastercard examples are typically sixteen digits, while American Express uses fifteen. The test CVV is usually any three digits, or four for Amex, and the expiry date can be any future month and year. Gateways often reserve one specific value per brand for a successful charge and separate values for each decline reason, which is why the documentation lists several numbers rather than one.

Delivery of this guide is instant and digital, so there is nothing to ship and no waiting for a courier. You receive access immediately after checkout and can return to the material as often as you like. If it does not answer your question, contact support within the stated window for a straightforward refund.

Are test card numbers safe to use?

Yes. They are published openly by the processors for exactly this purpose and cannot be used to move real money, so there is no cardholder data to protect or leak.

Can a test card number be used for a real purchase?

No. These values only work inside a sandbox or test mode account, and a live payment terminal will reject them outright.

Why does one gateway list so many test numbers?

Each number maps to a specific response, letting you reproduce edge cases like expired cards, blocked cards and authentication challenges on demand.

More

Read our complete guide: Buy CVV Cheap: Pricing, Risks, and What First-Time Buyers Need to Know