Razorpay Test Card Number for Sandbox Payments

Our Cards

Choose from any of our gift cards to give to your loved ones

razorpay test card cvv

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

razorpay test card 2025

Where to Buy?

You can purchase a gift card from any of these locations

razorpay test card 2025

ABOUT US

about

What is ONYX GiftCards?

Onyx Gift Cards is a Grenadian company designed to introduce, market and manage gift cards systems in Grenada for retailers and corporations. We are enthusiastic about the effect and influence we will have on the local market. We intend to expand our systems regionally with a range of product offerings and services.

What is a Gift Card?

Gift cards are the preferred way of giving and receiving gifts. They carry a monetary value that can be redeemed for gifts at your favorite store.
Onyx GiftCards are “Open Gift Cards” which means that they can be redeemed at multiple merchant locations. They are standard credit card size, can fit into the average wallet and made of PVC plastic. Onyx GiftCards are Barcoded for security and safety for the consumer and bear a disclaimer at the back.
Onyx Giftcards can be bought with a branded Card backer which is black in colour and is designed to fit the card. There is an area to write a brief message to the recipient as well.

How it Works?

  • Buy an Onyx Gift Card at these local stores
  • Give your gift card to friends, family, co-workers, etc.
  • The recipient can shop at our select merchants nationwide
  • Your friends, family, co-workers, etc. will present their gift card at checkout to pay for your item(s)
  • They will walk away happy with the best gift ever...the gift of Choice

Why ONYX GiftCards?

  • Save TIME. No need to run around looking for the perfect gift
  • Redeem from a variety of business island-wide. We will continue adding businesses as fast as ONYX grows.
  • ONYX Gift Cards do not expire
  • Cards are valued at convinient amounts to meet every need and occasion

Answer first: the card most developers use for a successful Razorpay test payment is 4111 1111 1111 1111, a Visa sandbox number Razorpay documents for test mode. Enter any future expiry date and any three-digit CVV, and make sure you are using test API keys rather than live ones. Three criteria decide which test card you should pick: the outcome you need to simulate (success, decline, or 3D Secure challenge), the card network you want to exercise, and whether the number still appears in the gateway's current published list. Test cards are sandbox credentials, not real cardholder data, and they only behave as documented while your account is in test mode.

What a Razorpay test card actually is

A test card number is a published placeholder that routes to a simulated banking response inside the gateway's sandbox. No money moves, no issuer is contacted, and no real account is touched. Razorpay, like other gateways, maintains a short list of these numbers and ties each one to a fixed outcome so your integration can branch on success, failure, and authentication flows without waiting on a real bank.

The important boundary: a real card number is never a test card. Feeding live cardholder data into a sandbox breaches card network rules and PCI DSS requirements, and it puts you in the position of storing data you are not allowed to store.

The default success card

Start here for happy-path testing. The Visa success number 4111 1111 1111 1111 is the one Razorpay's documentation leads with, and it is the number most tutorials and Stack Overflow answers reference.

Pros

Cons

Use it when you are wiring up the payment call for the first time and just need a green result to confirm keys, order creation, and signature verification are correct.

Other networks worth keeping on hand

Razorpay's sandbox also lists Mastercard and American Express style numbers, commonly cited as 5267 3181 8797 5449 for Mastercard. If your checkout renders different forms or brand icons per network, you need at least one card per network to confirm the branch logic.

Use it when your integration displays a network logo, adjusts card field length, or validates card type before submission.

Failure and authentication scenarios

The most valuable test cards are the ones that fail. Razorpay's documentation includes numbers that reliably produce a declined payment and numbers that trigger a 3D Secure challenge, so you can build your error states, retry logic, and webhook handling against something reproducible. Always pull the current list from the dashboard or the live docs before you hardcode anything into a test suite, because these numbers change.

Use it when you are testing order state transitions, webhook consumers, or user-facing error copy.

How to enter the details correctly

  1. Switch your dashboard to test mode and copy the test key ID and secret.
  2. Load the checkout with those test credentials, not the live ones.
  3. Enter the card number with or without spaces; the field strips them.
  4. Use any future expiry date and any CVV of the correct length.
  5. Confirm the response in the dashboard's test payments list, then check that your webhook received the matching event.

Mistakes that waste debugging time

Recommendation by use case

Building the integration from scratch: use the Visa success card. Testing brand rendering and input validation: add a Mastercard number. Testing error handling, webhooks, and retries: use a documented decline card. Testing the authentication step: use a card flagged for 3D Secure. In every case, verify the number against the current Razorpay documentation on the day you run the tests, and keep real card numbers and CVVs out of your test environment entirely.

Contact Us

Latest

Latest

CVV Validation

Learn everything you need to know about CVV validation and why it's crucial for online shopping security.

CVV Checker

Discover how to use a CVV checker effectively for secure online purchases.

Read our complete guide: Should You Buy CVV From a Card Shop? The Honest Buyer's Guide