Your cart is empty
Shop now
+

Razorpay Test Card Guide: Numbers and Test Flows

Explore

Razorpay Test Card Guide: Numbers and Test Flows

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

Razorpay Test Card Guide: Numbers and Test Flows

The fastest route to a green checkmark in Razorpay test mode is the Visa success card, 4111 1111 1111 1111, paired with a test-mode key pair, an expiry date in the future, and a three digit CVV. It wins on the three criteria that decide every sandbox card: it clears the simulated bank step, it works with both the Orders API and the hosted checkout, and it needs nothing beyond a test key to start. What follows covers how the Razorpay test card set works, which numbers to reach for, and the setup errors that make a working card look broken.

What counts as a Razorpay test card

A Razorpay test card is a number Razorpay publishes for sandbox transactions. It routes through a simulated bank instead of a live one, so no money moves and no real account is touched. The set lives in Razorpay's documentation and changes only when the provider adds new scenarios.

Three properties apply to every number in the set:

  • It works only while your integration runs on test keys. Live keys reject sandbox numbers.
  • The expiry must be a future date. Razorpay validates the format, and an expired date can fail before the simulation starts.
  • The CVV is a three digit value. Test mode does not check it against an issuer, so 123 is fine.

The cards cover domestic and international flows. If your checkout only offers one network, switching the network on the card is usually enough to reproduce the other path.

Visa success card

4111 1111 1111 1111

This is the number most Razorpay guides show first, and the one to try when you only need a single payment to succeed.

  • Pros: clears the standard success flow and works with card, order, and payment link APIs.
  • Pros: pairs with the simulated 3DS step, so you can exercise the OTP screen without hunting for another number.
  • Cons: it never reproduces a decline, so failure testing needs a second card.
  • Cons: it tells you nothing about network specific routing, such as Mastercard or Amex behavior.

Use it when you are wiring a new integration or confirming that a webhook fires on capture.

Mastercard success cards

Razorpay's list also carries Mastercard numbers for success, and 5267 3181 8797 5449 is among the entries developers cite most. Check the current official list before hardcoding anything, since test sets get revised and old numbers retire.

  • Pros: confirms your checkout handles a second network without code changes.
  • Pros: useful for regression runs after you touch validation logic.
  • Cons: some Mastercard entries are reserved for specific scenarios, so a random pick may not behave like the Visa card.
  • Cons: a success on one network does not guarantee the same result across every acquirer path.

Reach for these when your product supports more than one network and you want to prove that routing holds.

Failure and edge case flows

Success is the easy half. Declines, timeouts, and authentication failures are where integrations break in production.

  • Razorpay documents test cards that return a decline, plus UPI test handles such as success@razorpay and failure@razorpay for the collect flow.
  • For 3DS, the checkout shows an authentication screen. Razorpay's test mode guide names the OTP to enter, and the same code works on every simulated attempt.
  • For webhooks, the failure path matters more than the success path. A captured payment event and a failed payment event carry different payloads, and both belong in your logs.

Test cards compared with live cards

The two are not interchangeable, and treating a sandbox pass as production proof is the most common error.

  • What test cards do well: validate request shapes, response handling, retry logic, webhook parsing, and refund calls without touching real accounts.
  • What they cannot do: simulate issuer risk rules, real settlement timing, chargeback handling, or the latency of a live bank.
  • What changes at go live: key pair, endpoint behavior, and the compliance obligations that come with real card data.

Aim for a sandbox run that covers success, decline, and abandonment before you swap in live keys.

Setup checklist before you run a test payment

  1. Flip the dashboard to test mode and copy the test key pair into your environment file.
  2. Confirm your server calls the order creation endpoint with the test key before the checkout opens.
  3. Disable any caching layer that could serve a stale checkout script.
  4. Point your webhook endpoint at a tunnel or staging URL and log every event body.
  5. Run one success, one decline, and one abandoned payment, then read the raw responses.

Mistakes that waste an afternoon

  • Mixing a live key with a test card, which returns an authentication error that looks like a card failure.
  • Reusing an old card number from a blog post that predates a docs revision.
  • Testing only the happy path, then discovering on launch day that your decline handler throws.
  • Ignoring the amount field, since some edge cases depend on the value you send.

Handling card data in a way that stays legal

Test numbers are safe to paste into tickets, chat, and code comments. Real card numbers are not. Buying, selling, or storing live card data you do not own is card fraud and carries criminal liability, and PCI DSS exists to keep genuine numbers inside a compliant environment. If you need realistic data for a demo, use the sandbox set and keep live numbers out of your fixtures, your logs, and your seed scripts.

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