Braintree Test Card Numbers

Braintree sandbox test card numbers for successful and declined transactions, plus the amount thresholds that force processor errors.

Braintree's sandbox accepts 4111 1111 1111 1111 (Visa), 5555 5555 5555 4444 (Mastercard) and 3782 822463 10005 (Amex) with any future expiry date. Declines are driven mainly by the amount. Any amount from $2,000.00 to $2,999.99 returns a processor decline whose response code equals the amount.

Last verified against Braintree's official documentation on .

Expiry: Any future date
CVV: Any valid CVV
Official documentation

Successful transactions

Card numberBrandResultCopy
4111 1111 1111 1111Visa
Transaction succeeds
4005 5192 0000 0004Visa
Transaction succeeds
4009 3488 8888 1881Visa
Transaction succeeds
4012 0000 3333 0026Visa
Transaction succeeds
4012 0000 7777 7777Visa
Transaction succeeds
4012 8888 8888 1881Visa
Transaction succeeds
4217 6511 1111 1119Visa
Transaction succeeds
4500 6000 0000 0061Visa
Transaction succeeds
5555 5555 5555 4444Mastercard
Transaction succeeds
2223 0000 4840 0011Mastercard
Transaction succeeds
3782 822463 10005American Express
Transaction succeeds
3714 496353 98431American Express
Transaction succeeds
6011 0009 9130 0009Discover
Transaction succeeds
3625 960000 0004Diners Club
Transaction succeeds
3530 1113 3330 0000JCB
Transaction succeeds
6304 0000 0000 0000Maestro
Transaction succeeds
6243 0300 0000 0001UnionPay
Transaction succeeds
6221 2611 1111 7766UnionPay
Transaction succeeds
6223 1649 9123 0014UnionPay
Transaction succeeds

Failed card verification

Use these to test the verification path rather than the sale path.

Card numberBrandResultCopy
4000 1111 1111 1115Visa
Verification processor declined
5105 1051 0510 5100Mastercard
Verification processor declined
3787 344936 71000American Express
Verification processor declined
6011 0009 9013 9424Discover
Verification processor declined

Amount-based triggers

Braintree drives most decline testing from the transaction amount, not the card number. Submit a valid test card for the amount you want to test.

ScenarioValueEffect
Processor declined$2,000.00 - $2,999.99Declined; the response code equals the amount
Failed$3,000.00 - $3,000.99Fails with processor response 3000
Gateway rejected$5,001.00Rejected as Application Incomplete

Before you use these

  • Sandbox credentials only. These cards are rejected in production.
  • These numbers are published by Braintree for sandbox testing. They are not real cards and cannot be used for a real purchase.

How to use Braintree test cards

  1. Switch your Braintree integration to its test or sandbox environment and use test credentials. Live credentials reject these numbers.
  2. Enter a card number from the tables above. Expiry: Any future date. Security code: Any valid CVV.
  3. Start with a successful card to confirm the happy path, then work through the decline and error cards so every failure message in your checkout gets exercised.
  4. Use the trigger values (amount-based triggers) to simulate outcomes that are not tied to a card number.

Braintree test card FAQ

What are the Braintree test card numbers?

Braintree's sandbox accepts 4111 1111 1111 1111 (Visa), 5555 5555 5555 4444 (Mastercard) and 3782 822463 10005 (Amex) with any future expiry date. Declines are driven mainly by the amount. Any amount from $2,000.00 to $2,999.99 returns a processor decline whose response code equals the amount.

Do Braintree test cards work in production?

No. These numbers are only recognised by the Braintree test environment and are rejected by the live platform. They are not real cards and cannot be used for a purchase.

How do I test a declined payment with Braintree?

Braintree triggers failures through amount-based triggers as well as dedicated card numbers. Both are listed on this page.