Answer
A Braintree test card is a card number for Braintree sandbox transactions. Use 4111111111111111 for Visa. Use any future expiration date. Use any 3-digit CVV. For American Express use a 4-digit CVV. The number does not move money. Braintree test mode processes the charge as a simulation.
Common Braintree test card numbers
- Visa: 4111111111111111
- Mastercard: 5555555555554444
- American Express: 378282246310005
- Discover: 6011111111111117
- JCB: 3530111333300000
- Diners Club: 30569309025904
Braintree sandbox accepts these numbers in test mode. The cardholder name can be any value. The street address and postal code can be any value unless your test checks AVS rules. Use a postal code that matches the AVS scenario you test.
Expiration date and CVV
Use a future month and year. A past date can return a declined result. Use 3 digits for Visa, Mastercard, Discover, JCB, and Diners Club. Use 4 digits for American Express. The CVV value does not need to match a real card. The sandbox checks format, not issuer data.
Test mode vs live mode
Braintree test cards work with sandbox credentials. Live credentials send the number to the card network. The network rejects 4111111111111111 as a test number. Do not use sandbox numbers in production. Do not use live card data in sandbox tests.
What to check in a test
- Authorization result: approved or declined.
- Response code and message.
- AVS and CVV response fields.
- Transaction status in the Braintree control panel.
- Settlement behavior in sandbox.
Braintree documents test amounts that trigger specific results. Use a documented amount when you need a decline or a settlement error. Record the amount, card number, and response code in your test log.