Your cart is empty
Shop now
+

Stripe Test Card Numbers and How to Use Them

Explore

Stripe Test Card Numbers and How to Use Them

We guarantee gift cards direct to your inbox immediately.
Shop Now!

Let's Work Together

Sign up now with Call of Gift Cards and become eligible for benefits including 10% commission on cards bought from us, awesome conversion rates and much more!
Find Out More

Digital Gift Cards

The market for digital goods and services are growing rapidly. One of the true shifts in online behaviour is the switch from traditional direct online payments and purchase to wallets and gift cards. ...read more
+

Digital Gift Cards

The market for digital goods and services are growing rapidly. One of the true shifts in online behaviour is the switch from traditional direct online payments and purchase to wallets and gift cards. We invite you to start your own online business as a partner of ours. By signing up as a partner you’ll get access to one of the largest gift card databases in the world. All you need to focus on is to market your website and products. Gift cards are quickly outperforming traditional gifts, as they give the recipient the choice to pick their own present from a variety of options. The range of e-gift cards available on the Call of Gift Cards's partner sites includes popular categories such as restaurants, games, travel and fashion.

Gift Vouchers

Traditional gift vouchers are printed paper gifts available in set values that can be spent in specific stores. Open-loop, semi-open loop, and closed-loop are often terms used when referring to gift v...read more
+

Gift Vouchers

Traditional gift vouchers are printed paper gifts available in set values that can be spent in specific stores. Open-loop, semi-open loop, and closed-loop are often terms used when referring to gift vouchers. All gift cards sold via our partners’ websites are closed loop. This means that the gift card can only be spent at a single brand location, for example, an Xbox voucher can only be spent at Xbox etc.

Our Gift Cards

Minecraft Coins – Starfield – Alan Wake 2 – Spotify Gift Card – Madden NFL 24 – Mortal Kombat™ 1 – Garena Shells – FIFA 23 – Assassin’s Creed Mirage – Valorant Points – Grand Theft Auto V – Razer Gold Pin – Cabal Online eCoin – Battlenet Gift Card – Elden Ring – Minecraft Java + Bedrock – Call of Duty: Modern Warfare III - Cross-Gen Bundle – EA SPORTS FCTM 24 Standard Edition Xbox One & Xbox Series X|S – Steam Wallet Gift Card – Battlefield™ V Standard Edition – iTunes Gift Card – PlayStation Network PSN Gift Card – Netflix Gift Card – Google Play Gift Card – Amazon Gift Card – Xbox Live Gift Card – Facebook Game Gift Card – FIFA 20 (Xbox One) – Far Cry 5 - Gold Edition (Xbox One) – NieR:Automata Become As Gods Edition (Xbox One) – SONIC FORCES™ Digital Standard Edition (Xbox Game EU) – Apex Legends™ - Octane Edition (Xbox Game EU) – Mario Kart 8 Deluxe (Nintendo) – Fortnite V-Bucks Gift Card – Nintendo eShop Gift Card – Red Dead Redemption 2 (Xbox One) – Halo 5: Guardians (Xbox One) – The Legend of Zelda: Link's Awakening (Nintendo) – DOOM Eternal Standard Edition (Xbox One) – The Legend of Zelda: Breath of the Wild (Nintendo) – Resident Evil 3 (Xbox One) – Need For Speed Heat (Xbox One) – Assassin's Creed Odyssey - Gold Edition (Xbox One) – Cars 3: Driven to Win (Xbox One) – Call of Duty: Modern Warfare 2 Campaign Remastered (Xbox One) – Team Sonic Racing™ (Xbox Game EU) – Project CARS - Game of the Year Edition (Xbox One) – Mario & Sonic Tokyo 2020 (Nintendo) – Tom Clancy’s Ghost Recon Wildlands - Deluxe Edition (Xbox One) – Forza Horizon 4 Ultimate Edition (Xbox One) – Sekiro™: Shadows Die Twice (Xbox One EU) – Tom Clancy's The Division 2 (Xbox One EU) – Gears 5 (Xbox One) – Dragon Ball Z: Kakarot (Xbox One) – The Crew Ultimate Edition (Xbox One) – Ultimate Marvel vs. Capcom 3 (Xbox One) – Pokemon Let's Go Eevee! (Nintendo) – Sonic Mania (Xbox Game EU) – UFC 3 - Deluxe Edition (Xbox One) – Mass Effect Andromeda - Standard Recruit Edition (Xbox One) – BioShock: The Collection (Xbox One) – A Way Out (Xbox One) – Borderlands 3 (Xbox One) – Overcooked! 2 (Nintendo) – World of Warcraft – PUBG Gift Card – Spyro Reignited Trilogy (Xbox One) – Aeria Points Gift Card – Destiny 2: Shadowkeep (Xbox One) – Steep (Xbox One) – Infinite Minigolf (Xbox One) – Rage 2 (Xbox One) – Fire Emblem Warriors (Nintendo) – Anthem (Xbox One) – Kingdom Hearts 3 (Xbox One) – FIFA 19 (Xbox One) – Goat Simulator (Xbox One) – The Elder Scrolls Online (Xbox One) – FOR HONOR™ Standard Edition (Xbox One) – IMVU Prepaid Gift Card

Stripe Test Card Numbers and How to Use Them

What is a Stripe test card?

A Stripe test card is a card number that works only in Stripe test mode and returns a set result on every charge. The number 4242 4242 4242 4242 approves a Visa payment, while 4000 0000 0000 0002 triggers a generic decline. No real money moves and no bank network is involved.

Stripe publishes these numbers so developers can build a checkout flow before a live account exists. Each number maps to one outcome: an approval, a specific decline code, a 3D Secure challenge, or a card that saves and then fails. That mapping gives you a way to test error handling on purpose.

Test mode vs live mode

Test cards work only when your code uses test API keys, the pair that starts with sk_test_ and pk_test_. Swap in a live key and the same numbers are declined. Repeated attempts with test numbers against live keys can flag the account for review.

Test mode holds its own data. Customers, charges, subscriptions, and events created there stay apart from live records, so you can delete them at any time.

Which Stripe test card numbers do I need?

Pick a number by the outcome you want to see, not by the brand. The list below covers the cases most teams test.

Cards that succeed

  • 4242 4242 4242 4242 Visa credit, charge succeeds
  • 4000 0566 5566 5556 Visa debit
  • 5555 5555 5555 4444 Mastercard credit
  • 5200 8282 8282 8210 Mastercard debit (US)
  • 3782 822463 10005 American Express, uses a four digit CVC

Cards that fail

  • 4000 0000 0000 0002 generic decline
  • 4000 0000 0000 9995 insufficient funds
  • 4000 0000 0000 0069 expired card
  • 4000 0000 0000 0127 incorrect CVC
  • 4000 0000 0000 0119 processing error
  • 4000 0000 0000 0341 card saves, then the first charge fails

Cards that trigger 3D Secure

  • 4000 0025 0000 3155 authentication required, and the flow can pass without a visible challenge
  • 4000 0000 0000 3220 authentication required, the test page asks you to pass or fail

For every card above, use any future expiry date, any three digit CVC, and any postal code. The Amex number takes a four digit CVC. Numbers built to fail a CVC or postal check need the exact values listed in Stripe docs.

How to use a Stripe test card

  1. Open the Stripe Dashboard and switch the account to test mode.
  2. Copy the test publishable and secret keys into your environment file.
  3. Reload the checkout page so the form picks up the test keys.
  4. Enter a test number, a future expiry date, and any CVC.
  5. Submit the payment and open the Events tab to read the result.
  6. Confirm your webhook handler caught the matching event.

If your app builds a Stripe client at boot, restart the server after swapping keys. A stale live key explains most declines people report with test numbers.

Common problems with Stripe test cards

  • Wrong key set. Test numbers fail against live keys with a decline or an invalid number error.
  • Numbers used outside Stripe. A test card is a placeholder that only Stripe test mode honors. Other processors reject it.
  • 3D Secure challenges left open. A PaymentIntent with a 3DS card stays incomplete until the challenge is finished.
  • Hardcoded numbers in shipped code. Guard test values behind a test mode check so nobody pushes them to production.
  • Real card data in test accounts. PCI DSS rules keep live cardholder data out of test and development systems.

Testing subscriptions and refunds

Subscription logic needs a clock, not just a card. Stripe test clocks move a customer through billing periods in minutes, which lets you check renewals, dunning, and plan changes without waiting a month.

Refunds run against any charge that succeeded with a test card. Issue the refund in the Dashboard or through the API, then check that your handler reacts to the charge.refunded event.

For offline work, the Stripe CLI and the stripe-mock server fire test events at a local endpoint. Both use the same test numbers, so your fixtures stay valid.

FAQ

Do Stripe test cards work in live mode?

No. Test numbers are declined in live mode, and Stripe may flag an account that keeps sending them. Use live mode with a real card you control, or stay in test mode.

What expiry date and CVC should I use?

Use any future date for the expiry and any three digit number for the CVC. A few test cards exist to fail a specific check, and those need the exact values from the Stripe docs.

Are Stripe test cards safe to use?

They are public strings with no link to a real account, and they work only with your own test keys. Using them against a live system you do not control is a different act and can count as fraud. Keep them inside test environments.

Do I need a real card to test Stripe?

No. Test cards cover approvals, declines, 3D Secure, disputes, and subscription billing. A real card is needed only when you test the live account setup itself.

Why does my test card get declined?

Check the key set first, then the number itself. A live key, a typo in the digits, or an unfinished 3D Secure challenge explains most declines.

What's New

Why I Can't Write a CVV Buying Guide

I can't write a buying guide for CVVs or stolen card data. I can help with card-fraud prevention, PCI DSS, and payment-security content instead.

Read our complete guide: What to Know Before You Buy CVV: Prices, Scams, and Legal Risks