Gift Cards

Braintree test cards, in one line

A Braintree test card is a card number published in Braintree's sandbox documentation that makes the gateway return a specific result without touching a real account. You run it against a sandbox merchant ID, get the approval or the decline you asked for, and move on. Nothing leaves the test environment.

Why sandbox numbers exist

Card processing has too many branches to test with live money. You need approvals, declines, CVV mismatch, AVS mismatch, expired cards, and processor errors, all on demand and in a repeatable way. Test numbers give you that control. Braintree publishes a short list, and each entry maps to a card brand plus a set of behaviors you can count on.

The numbers people type most

  • Visa: 4111 1111 1111 1111
  • Visa (alternate): 4012 8888 8888 1881
  • Mastercard: 5555 5555 5555 4444
  • Mastercard (alternate): 5105 1051 0510 5100
  • American Express: 3782 822463 10005
  • Discover: 6011 1111 1111 1117

Use any future expiration date and any three or four digit CVV, unless you are testing a CVV response on purpose. These numbers pass the Luhn check, which matters because Braintree's client-side tokenization rejects values that fail it before your server ever sees a nonce.

Amounts, CVV, and AVS are the real triggers

The card number decides the brand and little else. Behavior comes from the values you attach to the request. An amount of 2000.00 or higher triggers a decline, which is the fastest way to exercise your failure path. For CVV, 200 means the code matches, 201 means it does not match, and 301 means the issuer could not verify it. For AVS, a postal code of 20000 matches and 20001 does not. Wire those into test cases and you cover the branches that cause support tickets in production.

Test nonces and the error you will hit

Client-side tokenization returns a payment method nonce, not a card number, and that nonce is single use. Reusing one produces an error that looks like a gateway problem but is not. Generate a fresh nonce for each transaction attempt, and if you are testing server-side flows, create the nonce in a test harness instead of pasting a stale value into a script.

Common mistakes

  1. Running test cards against a production merchant ID. The request fails, and if it somehow succeeds you have created a real transaction record.
  2. Assuming a decline means your integration is broken. Check the amount and the response code first.
  3. Hardcoding a nonce in a config file. It expires and the failure looks random.
  4. Skipping AVS and CVV cases because the happy path passed.

A boundary worth stating

Test cards are worthless outside sandbox and cannot be traded, because they authorize nothing. Real card numbers are a different category: they are regulated cardholder data, and storing, sharing, or selling them without a PCI DSS compliant environment and a legitimate business relationship is a crime in most jurisdictions. If your integration needs realistic data, use the published sandbox values. That is what they are for.


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