CVV Format Test Examples: 3-Digit and 4-Digit Patterns
CVV test examples show 3-digit formats for Visa, Mastercard, and Discover, and 4-digit formats for American Express. Test values work only in sandbox systems.
Redeem your gift cards at any of our Merchants
Onyx Gift Cards is a Grenadian company designed to introduce, market and manage gift cards systems in Grenada for retailers and corporations. We are enthusiastic about the effect and influence we will have on the local market. We intend to expand our systems regionally with a range of product offerings and services.
Gift cards are the preferred way of giving and receiving gifts. They carry a monetary value that can be redeemed for gifts at your favorite store.
Onyx GiftCards are “Open Gift Cards” which means that they can be redeemed at multiple merchant locations. They are standard credit card size, can fit into the average wallet and made of PVC plastic. Onyx GiftCards are Barcoded for security and safety for the consumer and bear a disclaimer at the back.
Onyx Giftcards can be bought with a branded Card backer which is black in colour and is designed to fit the card. There is an area to write a brief message to the recipient as well.
A CVV format test service checks that a card verification value matches the pattern set by the card brand: 3 digits for Visa, Mastercard, and Discover, 4 digits for American Express. It tests structure and nothing else. The check cannot confirm that an account exists, holds funds, or belongs to the person typing.
Most teams run this check inside the payment form or in an automated test suite. Catching a malformed CVV before the request leaves the browser saves a round trip and a failed authorization fee.
Length is the whole rule. A CVV carries no checksum, so no algorithm can separate a correct value from a wrong one. A 3-digit string is either the right shape or it is not.
All four names describe the same field from the cardholder side. CVV1 is a different value, encoded on the magnetic stripe or the chip, and it never appears in print. A web form that asks for a "CVV" is always talking about CVV2-style data.
A format test runs offline and returns pass or fail based on character count. A real authorization leaves your system, reaches the issuing bank, and comes back as an approval code or a decline reason.
Sandbox card numbers from a payment processor travel the full authorization path without touching a real account. That is the safe way to exercise an approval flow.
Any 3-digit string passes a format check, including 000 and 999. Validity lives in the issuer's database, not in the number's shape.
The same gap applies to the card number itself. The Luhn checksum catches typos and random digits, but it also passes numbers that no bank ever issued. Both checks filter bad input. Neither one proves an account is live.
No. PCI DSS Requirement 3.2 forbids storing sensitive authentication data after authorization, and that data includes the CVV. Even a card number held under strong encryption cannot sit next to its verification value.
This is why serious test tools work with synthetic numbers. A service that keeps real CVVs is either breaking the standard or misleading you about what it holds.
Keep the CVV out of your logs, your analytics, and your error reports. Trim spaces on input, but never trim leading zeros, so a value like 007 keeps its shape.
autocomplete="off" and skip any client-side storage of the value.Testing format rules on your own form and on sandbox numbers is routine engineering work. Buying, selling, or trading card data is a crime in the US and in most other countries, and no format check makes that data safe to hold.
Services that promise to "test" real card numbers in bulk, or that offer card data by the batch, are not testing tools. Walk away from them.
Yes, but with a separate rule. Amex uses 4 digits, so a form that hard-codes a 3-digit limit will reject every Amex cardholder.
Yes. 007 is a valid 3-digit shape. Store the field as a string, not an integer, or the leading zero disappears.
A correct check rejects it before the request goes out. A weak check passes it and the issuer declines the authorization.
No. Format data says nothing about ownership or history. Only the issuer can answer that question, and only through a normal authorization.