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.
Domestic (India)
| Card number | Brand | Result | Copy |
|---|---|---|---|
4100 2800 0000 1007 | Visa | Payment succeeds Debit / consumer | |
5555 5100 0008 1006 | Mastercard | Payment succeeds Credit / business | |
5180 2872 0009 1001 | Mastercard | Payment succeeds Prepaid / consumer | |
6527 6589 0000 1005 | RuPay | Payment succeeds Credit / consumer | |
3608 2800 0910 07 | Diners Club | Payment succeeds Credit / consumer | |
3402 560004 01007 | American Express | Payment succeeds Credit / consumer |
International
| Card number | Brand | Result | Copy |
|---|---|---|---|
5555 5555 5555 4444 | Mastercard | Payment succeeds | |
5105 1051 0510 5100 | Mastercard | Payment succeeds | |
5104 0600 0000 0008 | Mastercard | Payment succeeds | |
4012 8888 8888 1881 | Visa | Payment succeeds |
Subscriptions and EMI
| Card number | Brand | Result | Copy |
|---|---|---|---|
4718 6091 0820 4366 | Visa | Subscription payment Domestic credit | |
5104 0155 5555 5558 | Mastercard | Subscription payment International credit | |
5104 0600 0000 0008 | Mastercard | Subscription payment International debit | |
5241 8100 0000 0000 | Mastercard | EMI payment |
Controlling the outcome
Razorpay decides success or failure from the OTP you enter on the test checkout.
| Scenario | Value | Effect |
|---|---|---|
| Successful payment | Any OTP of 4 or more digits | Payment completes |
| Failed payment | An OTP of fewer than 4 digits | Payment 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.