Gift Cards

A CVV test for PCI DSS is a validation exercise that proves your systems delete the card verification value after authorization and cannot retrieve it later. It is a compliance check against your own environment, not a way to confirm whether a card number is valid. PCI DSS treats the CVV as sensitive authentication data, and Requirement 3.3 prohibits retaining it once a transaction is authorized.

related article

This tutorial walks through what the test covers, where CVV data leaks in practice, and what evidence an assessor expects to see.

cvv test for pci dss process

What a CVV test actually checks

The card verification value goes by several names: CVV2, CVC2, CID, and CAV2 depending on the network. It sits on the card or in the chip data and exists to prove the person making the purchase holds the physical card. Once the issuer responds to an authorization request, the value has done its job. Keeping it adds breach risk with no business benefit, which is why the standard bans retention outright rather than asking for encryption or masking.

cvv test for pci dss process

Your test therefore answers one question: after a transaction completes, can this value be found anywhere in our systems? Anything short of a definitive no is a finding.

Where CVV data hides in real environments

Most retention failures are accidental. Application teams rarely set out to store the value, but it arrives in payloads and gets copied along the way.

  • Raw request bodies written to application or web server logs, including debug levels left on in production
  • Queue and message broker payloads retained for replay or troubleshooting
  • Database columns added for a one-off support request and never dropped
  • Error trackers and APM tools that capture full request context
  • Backups and archive snapshots taken before a purge was implemented
  • Third-party call center or fraud tooling that receives the full payment form field set

Running the test: a step-by-step approach

  1. Map the data flow. Document every point where the payment form posts, including gateways, tokenization services, and internal middleware. Note which fields each hop receives and whether the CVV is in scope.
  2. Confirm your integration never needs it. Verify that the authorization call fires before any application logic touches the field, and that the value is dropped from memory once sent.
  3. Use sandbox credentials. Run test transactions with issuer or acquirer test card numbers in a sandbox. Never use live card data belonging to anyone else, and never probe payment endpoints with generated numbers.
  4. Search logs and storage. Query application logs, database tables, object storage, and error reports for the field names used by your payment form. Compare against the sandbox transaction identifiers to confirm zero hits.
  5. Check retention windows. Review log rotation, backup schedules, and archiving policies. A value deleted from the primary database but preserved in a ninety-day backup is still retained.
  6. Record the result. Capture the search scope, the queries run, the date, and the reviewer. Assessors want reproducible evidence, not a screenshot of a clean table.

What the test is not

Card testing is a different activity and an illegal one. Attackers use automated requests against payment pages to guess whether generated account numbers are live, and merchants absorb the chargeback cost. If you want to check that your own fraud controls block enumeration, coordinate with your acquirer and use only their provisioned test data.

Buying, selling, or trading payment card data is card fraud, and in the United States it falls under statutes such as 18 U.S.C. § 1029. A legitimate CVV test never involves another person's card details.

Turning the result into compliance evidence

Store the test output with your other PCI evidence: the data flow diagram, the scope definition, the search queries, and the sign-off. Repeat the test when you change payment integrations, add a vendor, or adjust logging levels, since each of those events can reintroduce retention. A short, repeatable test run at every release is worth more to an assessor than a single thorough audit performed once.


Fast digital delivery

You will receive the digital voucher immediately.

Secure Payment

All your data is transmitted with unbreakable SSL-RSA encryption.

Suitable for giving away

You can give away, resell or keep the vouchers.

24/7 customer support

We are available for you 24 hours a day.

ProtectedGiftCards.com Newsletter

Be informed as soon as new vouchers are added or when there are discounts.

Read our complete guide: Buy CVV in 2025: A Buyer's Guide to Prices, Pitfalls, and Avoiding Scams