Skip to content

Test Cards Fresh

Use these values in sandbox (test mode) to simulate payment scenarios. Never use real card details in test mode.

How to use test cards

  • Use test API keys (sk_test_... / pk_test_...) for all sandbox calls
  • For interactive testing: enter the card number in any payment form with a valid future date (e.g., 12/34) and any 3-digit CVC
  • For server-side test code: use PaymentMethod tokens (e.g., pm_card_visa) instead of raw card numbers

Successful payments by card brand

Card numbers

BrandNumberCVCDate
Visa4242424242424242Any 3 digitsAny future date
Visa (debit)4000056655665556Any 3 digitsAny future date
Mastercard5555555555554444Any 3 digitsAny future date
Mastercard (2-series)2223003122003222Any 3 digitsAny future date
Mastercard (debit)5200828282828210Any 3 digitsAny future date
Mastercard (prepaid)5105105105105100Any 3 digitsAny future date
American Express378282246310005Any 4 digitsAny future date
American Express371449635398431Any 4 digitsAny future date
Discover6011111111111117Any 3 digitsAny future date
Discover6011000990139424Any 3 digitsAny future date
Discover (debit)6011981111111113Any 3 digitsAny future date
Diners Club3056930009020004Any 3 digitsAny future date
Diners Club (14-digit)36227206271667Any 3 digitsAny future date
JCB3566002020360505Any 3 digitsAny future date
UnionPay6200000000000005Any 3 digitsAny future date
UnionPay (debit)6200000000000047Any 3 digitsAny future date
UnionPay (19-digit)6205500000000000004Any 3 digitsAny future date
BCcard / DinaCard6555900000604105Any 3 digitsAny future date

PaymentMethod tokens (use in API calls)

BrandPaymentMethod
Visapm_card_visa
Visa (debit)pm_card_visa_debit
Mastercardpm_card_mastercard
Mastercard (debit)pm_card_mastercard_debit
Mastercard (prepaid)pm_card_mastercard_prepaid
American Expresspm_card_amex
Discoverpm_card_discover
Diners Clubpm_card_diners
JCBpm_card_jcb
UnionPaypm_card_unionpay

Legacy tokens (older integrations)

BrandToken
Visatok_visa
Visa (debit)tok_visa_debit
Mastercardtok_mastercard
American Expresstok_amex
Discovertok_discover

Co-branded cards

BrandNumberPaymentMethod
Cartes Bancaires / Visa4000002500001001pm_card_visa_cartesBancaires
Cartes Bancaires / Mastercard5555552500001001pm_card_mastercard_cartesBancaires
eftpos Australia / Visa4000050360000001pm_card_visa_debit_eftposAuCoBranded
eftpos Australia / Mastercard5555050360000080pm_card_mastercard_debit_eftposAuCoBranded

Declined payments

Card numberDecline codeScenario
4000000000000002card_declinedGeneric decline
4000000000009995insufficient_fundsInsufficient funds
4000000000009987lost_cardLost card
4000000000009979stolen_cardStolen card
4000000000000069expired_cardExpired card
4000000000000127incorrect_cvcCVC check fails
4000000000000119processing_errorProcessing error
4000000000000101incorrect_numberIncorrect card number

3D Secure (3DS) test cards

NumberBehavior
40000000000032203DS required — customer must authenticate
40000000000030633DS required — authentication succeeds
40000084000016293DS required — authentication fails (card declined)
40000000000030553DS attempted — optional authentication
40000000000030973DS attempted — card doesn't support 3DS

Radar test cards (fraud)

NumberScenario
4100000000000019Blocked by Radar (always blocked)
4000000000004954Elevated risk level
4000000000000259Triggers a dispute after payment

Non-card payment methods

Payment methodTest value
US bank account (ACH)Routing: 110000000, Account: 000123456789
SEPA debitIBAN: AT61 1904 3002 3457 3201
iDEALUse any test bank in sandbox modal
BECS debit (AU)BSB: 000-000, Account: 000123456

Test using the API

bash
curl https://api.stripe.com/v1/payment_intents \
  -u "sk_test_YOUR_KEY:" \
  -d amount=1000 \
  -d currency=usd \
  -d payment_method=pm_card_visa \
  -d "payment_method_types[]=card" \
  -d confirm=true

Terminal test values

Reader codeDescription
simulated-s700Simulated Stripe Reader S700
simulated-wpeSimulated BBPOS WisePOS E

Simulate card presentment on a simulated reader:

bash
curl -X POST https://api.stripe.com/v1/terminal/readers/{{READER_ID}}/simulate_payment \
  -u "sk_test_YOUR_KEY:"

Stripe API Reference - Self-contained docs reference, refreshed 2026-05-18