Razorpay test mode card numbers: Visa, Mastercard, RuPay, Amex, Diners, and error cards
Runs in your browser. Nothing you type is sent anywhere. Checked against sources on 15 Oct 2026.Razorpay test cards are accepted only in Test Mode; in live mode Razorpay answers "card issuer is invalid", so they cannot pay for anything. Here are the numbers Razorpay publishes: domestic Visa, Mastercard, RuPay, American Express and Diners, international Visa and Mastercard, subscription and EMI cards, and error cards such as insufficient funds.
| Scheme | Test number | What it does |
|---|---|---|
| Visa | 4100 2800 0000 1007 | Visa debit, domestic, succeeds |
| Mastercard | 5555 5100 0008 1006 | Mastercard business credit, domestic, succeeds |
| RuPay | 6527 6589 0000 1005 | RuPay credit, domestic, succeeds |
| Diners Club | 3608 280009 1007 | Diners credit, domestic, succeeds |
| American Express | 3402 560004 01007 | American Express credit, domestic, succeeds |
| Mastercard | 5180 2872 0009 1001 | Mastercard prepaid, domestic, succeeds |
| Mastercard | 5555 5555 5555 4444 | Mastercard, international, succeeds |
| Mastercard | 5105 1051 0510 5100 | Mastercard, international, may ask for an address |
| Mastercard | 5104 0600 0000 0008 | Mastercard debit, international, also for subscriptions |
| Visa | 4012 8888 8888 1881 | Visa, international, succeeds |
| Visa | 4718 6091 0820 4366 | Visa credit, domestic, for subscriptions |
| Mastercard | 5104 0155 5555 5558 | Mastercard credit, international, for subscriptions |
Switch the Razorpay Dashboard to Test Mode and use the rzp_test key in your checkout.
Copy a domestic card such as the RuPay 6527 6589 0000 1005, or an international one.
Enter any future expiry and any CVV, then an OTP of 4 to 10 digits on the test bank page.
For an error card, choose Failure on the success or failure screen to get that error.
Each Razorpay test card comes with a future expiry and a CVV.
Every payment gateway gives developers a sandbox: a test mode with its own keys, where a checkout can be tried end to end without moving money. Each gateway also publishes the card numbers its sandbox accepts. Stripe's best known is 4242 4242 4242 4242, a Visa that always succeeds; Razorpay lists domestic cards for India, including a RuPay card, 6527 6589 0000 1005.
This page hands out exactly those published numbers and nothing else. That is a deliberate rule. A "generator" that put random digits behind a real issuer prefix could produce the number of somebody's live card, and a gateway's sandbox would refuse it anyway, because test mode only knows its own list. So each number here is copied digit for digit from the gateway's page, with the source linked and the date it was read, and only the expiry date and CVV are made up: a month one to five years ahead, and three digits, or four for American Express, as Stripe asks.
Choose the gateway, the schemes and whether the payment should succeed or fail, then copy the cards as a list, JSON or CSV. Visa, Mastercard, American Express, RuPay, Discover, JCB, Diners Club and UnionPay are covered. Maestro and Mir are recognised by the checker but never generated, because neither gateway publishes a test number for them.
The rest of the article, and all 6 questions about Test Credit Card Numbers, are on the Test Credit Card Numbers page.
Stripe's standard test card is 4242 4242 4242 4242, a Visa that always succeeds in test mode. Use any future expiry date and any three-digit CVC; American Express test cards take four digits. Stripe also publishes cards that decline, cards issued in countries such as India and the UAE, and cards that ask for 3D Secure.
Razorpay publishes domestic test cards such as the Visa debit 4100 2800 0000 1007 and the RuPay credit 6527 6589 0000 1005, plus international Mastercard and Visa cards. Enter any future expiry and any CVV, then an OTP of 4 to 10 digits on the test bank page for a successful payment.
Random digits behind a real issuer prefix can match the number of a real person's card, and gateways' sandboxes accept only their own published numbers anyway. Every number on this page is copied from Stripe's or Razorpay's test-card page, so it cannot belong to a live card and does work in test mode.
Razorpay ka RuPay test card 6527 6589 0000 1005 hai. Yeh sirf Razorpay ke Test Mode mein chalta hai, live payment mein nahi. Koi bhi future expiry aur koi bhi CVV daaliye, phir test bank page par 4 se 10 digit ka OTP daaliye. Is number se kuch kharida nahi ja sakta.
Rates and rules change; check the source before you rely on a figure.
Still stuck? Ask about Test Credit Card Numbers and anybody who knows can answer. No account needed.
Same job, other tools: Link Preview Checker – Find the missing tag behind a WhatsApp or Slack link with no picture · Twitter Card Validator – Check twitter:card tags and the og: tags X falls back to · Readability Checker – Flesch reading ease and grade level, with what to change · HTTP 503 Service Unavailable – Why a server returns 503, why it is the right code for maintenance, and how to fix it · User-Agent String Checker – Check what a user-agent string can and cannot tell you before you rely on it.
On the related tools: JSONPath Evaluator – Evaluate a JSONPath expression and get the matching values and their paths.
In the collection Test Data Generators.