Razorpay Test Card Numbers

Razorpay test card numbers for domestic and international payments, subscriptions and EMI, with the OTP rule that controls success or failure.

Expiry: Any future date
CVV: Any random CVV
Official documentation

Domestic (India)

Card numberBrandResultCopy
4100 2800 0000 1007Visa
Payment succeeds Debit / consumer
5555 5100 0008 1006Mastercard
Payment succeeds Credit / business
5180 2872 0009 1001Mastercard
Payment succeeds Prepaid / consumer
6527 6589 0000 1005RuPay
Payment succeeds Credit / consumer
3608 2800 0910 07Diners Club
Payment succeeds Credit / consumer
3402 560004 01007American Express
Payment succeeds Credit / consumer

International

Card numberBrandResultCopy
5555 5555 5555 4444Mastercard
Payment succeeds
5105 1051 0510 5100Mastercard
Payment succeeds
5104 0600 0000 0008Mastercard
Payment succeeds
4012 8888 8888 1881Visa
Payment succeeds

Subscriptions and EMI

Card numberBrandResultCopy
4718 6091 0820 4366Visa
Subscription payment Domestic credit
5104 0155 5555 5558Mastercard
Subscription payment International credit
5104 0600 0000 0008Mastercard
Subscription payment International debit
5241 8100 0000 0000Mastercard
EMI payment

Controlling the outcome

Razorpay decides success or failure from the OTP you enter on the test checkout.

ScenarioValueEffect
Successful paymentAny OTP of 4 or more digitsPayment completes
Failed paymentAn OTP of fewer than 4 digitsPayment fails

Before you use these

  • Test mode only. In live mode these are rejected with a "card issuer is invalid" error.
  • These numbers are published by Razorpay for sandbox testing. They are not real cards and cannot be used for a real purchase.