Refgrow
Free Developer Tool

Stripe Test Card Numbers

Complete reference of Stripe test card numbers for development and testing. Click any card to copy it instantly.

CVC

Any 3 digits

(4 digits for Amex)

Expiration

Any future date

e.g. 12/34

ZIP Code

Any 5 digits

e.g. 42424

Cards that produce successful charges with no authentication required.

Visa

4242 4242 4242 4242

Succeeds and immediately processes the payment.

Visa (debit)

4000 0566 5566 5556

Succeeds and immediately processes the payment.

Mastercard

5555 5555 5555 4444

Succeeds and immediately processes the payment.

Mastercard (2-series)

2223 0031 2200 3222

Succeeds and immediately processes the payment.

Mastercard (debit)

5200 8282 8282 8210

Succeeds and immediately processes the payment.

Mastercard (prepaid)

5105 1051 0510 5100

Succeeds and immediately processes the payment.

American Express

3782 822463 10005

Succeeds and immediately processes the payment.

American Express

3714 496353 98431

Succeeds and immediately processes the payment.

Discover

6011 1111 1111 1117

Succeeds and immediately processes the payment.

Discover

6011 0009 9013 9424

Succeeds and immediately processes the payment.

Diners Club

3056 9300 0902 0004

Succeeds and immediately processes the payment.

Diners Club (14-digit)

3622 720627 1667

Succeeds and immediately processes the payment.

JCB

3566 0020 2036 0505

Succeeds and immediately processes the payment.

UnionPay

6200 0000 0000 0005

Succeeds and immediately processes the payment.

How to Use Stripe Test Cards

Stripe provides test card numbers that simulate real payment scenarios in test mode. These cards only work when your Stripe integration is running with test API keys (prefixed with sk_test_). No real charges are made and no real money is moved.

To use a test card, enter the card number in a Stripe-powered checkout form. Use any future expiration date (e.g., 12/34), any 3-digit CVC (4 digits for Amex), and any 5-digit ZIP code. The card will behave according to its designated scenario.

Testing Best Practices

  • Test the happy path first. Use 4242 4242 4242 4242 to confirm your checkout flow works end-to-end before testing error scenarios.
  • Test every error your users might encounter. Declined cards, insufficient funds, and expired cards are the most common failure modes.
  • Verify 3D Secure handling. If you accept international payments, Strong Customer Authentication (SCA) is mandatory in the EU. Test both successful and failed authentication flows.
  • Test dispute flows. Use dispute-triggering cards to ensure your system handles chargebacks gracefully and sends appropriate notifications.
  • Test international cards. Different countries may trigger different Stripe behaviors, including currency conversion and regional card network routing.

Testing Affiliate Payments with Stripe

When building an affiliate program that integrates with Stripe, you need to test the full conversion flow: click tracking, checkout, webhook processing, and commission attribution. Use the successful payment cards above to simulate real purchases in test mode, then verify that commissions are correctly calculated and attributed to the referring affiliate.

Refgrow integrates directly with Stripe webhooks to automatically track conversions, calculate commissions, and manage payouts. Test your entire affiliate pipeline with these cards before going live.

Building a Stripe-powered affiliate program?

Refgrow connects to your Stripe account and automatically tracks affiliate conversions, commissions, and payouts.

Get Started Free
Start Free Trial
Stripe Test Cards | All Test Card Numbers | Refgrow