Razorpay Test Cards: How to Test Payments Safely

Our Cards

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

Razorpay Test Card 2025: How Test Payments Work

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

test card razorpay

Where to Buy?

You can purchase a gift card from any of these locations

related article

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

The short answer

You do not buy a Razorpay test card. The gateway publishes its test card numbers for free in its developer documentation, and those numbers only work against the sandbox, never against live payments. Your real decision is not which card to purchase but which published number reproduces the exact response you need: success, failure, authentication challenge, or refund behavior. Pick the card that matches your test case, keep it inside the test environment, and treat it as a placeholder rather than as card data.

What to look for in a test card set

Parameter bands worth building into a test plan

Group your test cards by the behavior they produce instead of memorizing individual numbers. One band should return an immediate approval. A second band should return a decline, and you want declines at both the authorization stage and the capture stage so your error handling is tested in two places. A third band should force an authentication challenge, which lets you confirm what happens when a customer abandons the challenge or fails it. A fourth band should simulate insufficient funds or an expired card so your retry messaging is accurate. A fifth band should cover refunds, partial captures, and voids, because money movement after the sale is where reconciliation errors surface.

Pitfalls that waste test cycles

How test cards relate to real card handling

Test cards carry no value and belong to no one. Real card numbers do, and their storage, transmission, and processing fall under a strict industry standard. If your product handles live card data, the safer architecture is to let the gateway collect the card details in its own hosted or embedded form and return only a token to your servers. That approach keeps sensitive data out of your systems and shrinks your compliance scope considerably. Test cards are the tool you use to verify that this flow works before real customers touch it.

FAQ

Do Razorpay test cards cost anything?

No. They are published free as part of the sandbox tooling and exist only for development and quality assurance work.

Can a test card ever charge a real account?

No. Test mode is isolated from the live payment network, so no funds move and no real cardholder is involved.

Why did my test card get declined when I expected approval?

Check that you are in test mode, that your API keys are the test pair, and that the number matches a documented success case. A mismatch between key type and card type is the most common cause.

Should I delete test data before launch?

Clear test transactions from reporting views so live analytics are not skewed, and remove any test credentials from configuration files.

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