Braintree's sandbox pairs fake CVV numbers with test card numbers so you can trigger a chosen verification result on demand. Enter 123 to get a CVV match, 200 to get a mismatch, and any other listed sandbox value to see how your code handles an unverified response.
Braintree CVV Test API Guide: How to Use It for Security
These numbers are fake. They work only in the Braintree sandbox and cannot charge a real account.
Braintree publishes the current list on its test values page. Card numbers and CVV values change with new sandbox features, so check that page before you write assertions into a test suite.
Braintree CVV Test Tool: Sandbox Card Verification Guide
The CVV travels with the authorization request to the card issuer. The issuer compares it to the number on file and returns a result, which Braintree passes back to your integration as a CVV response code.
Braintree does not store the CVV after authorization. The response code plus your CVV rule decide whether the transaction continues.
You read the value from the cvvResponseCode field on the transaction. Most integrations log it and act on it in one place rather than scattering checks across the checkout flow.
Braintree lets you set CVV rules in the Control Panel. A common rule rejects any transaction that returns an N response, so a mismatched CVV becomes a decline instead of a flagged sale.
Without a rule, a mismatched CVV can still settle. The response code shows the mismatch, but nothing blocks the charge. Test both setups before you go live.
Sandbox values are the only CVV numbers that belong in a test form. Card numbers pulled from a card, and CVV strings bought or sold on forums, are not test data. Running them through a gateway is card fraud and ends a merchant account.
PCI DSS Requirement 3.2 prohibits storing sensitive authentication data, CVV included, after authorization. That rule covers test databases, spreadsheets, and log files, not only production systems.
A real CVV also tells you nothing useful in a test. Sandbox responses come from a fixed table, so a genuine number gives no extra signal and creates legal risk.
In the sandbox, Braintree decides the response. Submit 123 and you always get M. The result is deterministic, which is what makes it useful for automated tests.
In production, the issuer decides. Banks differ in how they treat a missing CVV, a foreign card, or a card from a country that does not support the check at all.
The sandbox also skips fraud tools and never touches a bank network. Treat a passing sandbox test as proof that your code handles the response code, not as proof that live approvals will follow.
No. The CVV is used for the authorization request and not kept afterward. Vaulted payment methods store the card number and expiry, not the CVV.
No CVV rule is active on the account, or the rule is set to flag rather than reject. Add a reject rule and rerun the test with CVV 200.
They work with the test card numbers Braintree lists for each card brand. A random 16-digit number fails card validation before the CVV is ever checked.
Only the sandbox honors them. Production ignores the test table and sends the CVV to the issuer, so a response you saw in testing may not repeat live.
Yes. Braintree returns an AVS code alongside the CVV code, and most fraud rules check both. Testing one without the other leaves half your decline logic unverified.
You will receive the digital voucher immediately.
All your data is transmitted with unbreakable SSL-RSA encryption.
You can give away, resell or keep the vouchers.
We are available for you 24 hours a day.
Be informed as soon as new vouchers are added or when there are discounts.