Skip to main content

Razorpay Test Card Details for Sandbox Testing

Source-linked Razorpay test card numbers for Standard Checkout, custom integrations, OTP authentication, and documented bank-decline simulations in test mode.

Official Razorpay Docs
Developer Notice: Razorpay test cards are intended only for Razorpay's designated test environment. They do not represent real financial accounts and are not intended for live payment authorization.
Source: Official Razorpay testing documentation · Last verified against Razorpay documentation: 29 September 2026
Verification methodology →
Need synthetic test numbers for frontend form validation? See our Test Credit Card Numbers guide to understand the difference between synthetic QA fixtures and Razorpay's official sandbox values.
Read Guide→

Razorpay Test Card Details at a Glance

Use the source-linked Visa, Mastercard, or RuPay details below only with Razorpay test API keys. Razorpay accepts a random CVV and any future expiry date in test mode; the mock bank page then lets you complete a success flow or select a documented failure scenario.

  • Successful testEnter a 4–10 digit OTP or select Success.
  • Failure testSelect Failure to receive the card's documented error reason.
  • Live modeThese values are not intended or verified for live authorization.
Razorpay sandbox test-card scenarios, credentials, expected results, and source-verification details
Scenario / Test GoalTest Card NumberExpiryCVVExpected ResultVerification
Payment success (Visa Debit Consumer)
4100 2800 0000 1007Any future dateAny 3 digitsEnter a 4-10 digit OTP, or select Success on the mock bank page, to complete the simulated payment. Capture behavior depends on account settings.Verified against official sourceRecorded: 2026-09-29Re-verified against the linked official provider documentation on 2026-09-29.
Payment success (Mastercard Credit Business)
5555 5100 0008 1006Any future dateAny 3 digitsEnter a 4-10 digit OTP, or select Success on the mock bank page, to complete the simulated Mastercard payment.Verified against official sourceRecorded: 2026-09-29Re-verified against the linked official provider documentation on 2026-09-29.
Payment success (RuPay Credit Consumer)
6527 6589 0000 1005Any future dateAny 3 digitsEnter a 4-10 digit OTP, or select Success on the mock bank page, to complete the simulated RuPay payment.Verified against official sourceRecorded: 2026-09-29Re-verified against the linked official provider documentation on 2026-09-29.
Card declined by bank (card_declined)
4100 2800 0006 0003Any future dateAny 3 digitsSelect Failure on the mock bank page to return card_declined: 'Your payment did not go through as it was declined by the bank. Try another payment method or contact your bank.'Verified against official sourceRecorded: 2026-09-29Re-verified against the linked official provider documentation on 2026-09-29.
Insufficient account balance (insufficient_fund)
reason: insufficient_fund
4100 2800 0008 0001Any future dateAny 3 digitsSelect Failure on the mock bank page to return insufficient_fund: 'Your payment could not be completed due to insufficient account balance. Try another card or payment method.'Verified against official sourceRecorded: 2026-09-29Re-verified against the linked official provider documentation on 2026-09-29.
OTP Authentication failed (authentication_failed)
4100 2800 0000 0009Any future dateAny 3 digitsSelect Failure on the mock bank page to return authentication_failed: 'Your payment could not be completed due to incorrect OTP or verification details. Try another payment method or contact your bank for details.'Verified against official sourceRecorded: 2026-09-29Re-verified against the linked official provider documentation on 2026-09-29.

Using Razorpay Test Cards in Development

Razorpay test mode provides official sandbox cards for simulating domestic card payments, OTP authentication flows, and bank decline errors in Razorpay Standard Checkout.

1. Use Test Mode API Keys

Generate test API keys in your Razorpay Dashboard (starting with rzp_test_) and ensure checkout options use test credentials.

2. Enter Test Card Credentials

Use official test numbers from the table above for Visa, Mastercard, or RuPay. Any future expiration date and any 3-digit CVV are accepted in test mode.

3. Complete Mock Bank Page & OTP

When prompted on the simulated bank redirect page, enter any 4–10 digit OTP or click Success to authorize the payment. Click Failure to simulate bank rejection.

4. Verify Bank Decline & Failure Codes

Use specific test cards to verify failure states: the bank decline card returns card_declined, the balance test card returns Razorpay's documented reason insufficient_fund, and OTP failure simulation returns authentication_failed.

Razorpay Test-Card Search Terms Explained

Developers describe the same test-mode task with different word orders. Searches such as test card razorpay, test cards razorpay, razor pay test card, and razor pay test cards all point to provider-documented cards used with Razorpay test API keys. The spaced spelling does not identify a different product.

Phrases including razorpay testing card details, razorpay card test, razorpay testing card, razorpay testing cards, and test razorpay card details refer to the same practical workflow: select an official test number, enter a random CVV and future expiry, then complete the mock-bank success or failure path.

Some searches use informal wording such as razorpay dummy card details or razorpay dummy card number. “Dummy” means a sandbox-only value here. It does not mean a real card, and the number must not be submitted to live mode. This page remains the source-linked reference for razorpay test card details, a razorpay test card, multiple razorpay test cards, or a broader razorpay test.

Other Gateway Sandboxes:StripePayPalAdyenBraintreeSquare

Related Payment Testing Tools & Resources