RuPay Card Number Validator
Check whether a number looks like a valid RuPay card: the prefix, the 16-digit length and the Luhn check digit. Everything runs in your browser.
RuPay card number format at a glance
| Starts with (IIN) | 60, 65; 81, 82; 508; 353, 356 |
|---|---|
| Length | 16 digits |
| Security code | CVV, 3 digits, back of the card |
| Luhn check digit | Yes. The last digit is a Luhn (mod 10) check digit. |
| Issued in | India. RuPay is the domestic card network run by NPCI; international RuPay cards are co-branded with partners such as Discover, Diners Club or JCB. |
| Network operator | National Payments Corporation of India (NPCI) |
RuPay IIN (BIN) ranges
| Prefix | Notes |
|---|---|
| 60, 65 | Shared first digits with Discover |
| 81, 82 | |
| 508 | |
| 353, 356 | RuPay-JCB co-branded cards |
What the first digits mean
RuPay ranges overlap with other networks: 60 and 65 also hold Discover ranges, 81 holds UnionPay ranges, and 353 and 356 are inside the JCB block. The prefix alone cannot prove a card is RuPay; a BIN lookup can.
A prefix tells you the network, not the bank. To see the issuing bank, country and card type behind a RuPay BIN, use the BIN lookup tool or browse the full RuPay BIN list.
Worked Luhn example with a RuPay test number
This uses a public test number from the Razorpay test cards. It passes every format check but is not a real account, so it cannot be charged.
Number: 6527 6589 0000 1005 (16 digits)
- Start from the rightmost digit (the check digit) and move left.
- Double every second digit, starting with the one just left of the check digit.
- If doubling gives a number above 9, subtract 9 (same as adding its two digits).
- Add every value together. The number is valid if the total ends in 0.
| Digit | 6 | 5 | 2 | 7 | 6 | 5 | 8 | 9 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Double? | x2=12 | - | x2=4 | - | x2=12 | - | x2=16 | - | x2=0 | - | x2=0 | - | x2=2 | - | x2=0 | - |
| Value | 3 | 5 | 4 | 7 | 3 | 5 | 7 | 9 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 5 |
Total: 50. 50 mod 10 = 0, so the number passes the Luhn check.
Working backwards: without the check digit, the other digits add up to 45. The check digit is whatever brings that total to the next multiple of 10: (10 - 5) mod 10 = 5, which matches the last digit.
Why a valid RuPay card number still declines
Passing the Luhn and length checks only proves the number is well formed. Whether the payment goes through is decided by the issuer, and these are the common reasons a RuPay card is still declined:
RBI e-mandate rules on recurring payments
Recurring card charges in India need a registered e-mandate and a pre-debit notification, and larger amounts need extra authentication. Charges outside those rules are declined.
Domestic-only cards
Many RuPay cards work only in India. A foreign merchant charging one gets a decline even though the number is valid.
Insufficient funds
The number is fine, but the account cannot cover the amount right now. This is a soft decline: retrying after payday or once the balance recovers often succeeds.
Expired or replaced card
Luhn and length checks never look at the expiry date. A card reissued after loss, fraud or expiry keeps failing until the customer updates it or a card updater service supplies the new details.
Issuer fraud rules
Unusual amounts, a new merchant, or a country mismatch between the card and the customer can trigger a "do not honor" or suspected fraud decline even on a perfectly valid number.
Look up the exact response code in the decline code glossary to see whether it is a soft decline worth retrying or a hard decline that needs the customer.
RuPay card number FAQ
How many digits is a RuPay card number?
A RuPay card number is 16 digits. The last digit is a check digit calculated with the Luhn algorithm.
What does a RuPay card number start with?
RuPay card numbers start with 60, 65, 81, 82 or 508. RuPay prefixes overlap with Discover, UnionPay and JCB ranges. Confirm with a BIN lookup.
What is the CVV on a RuPay card?
The CVV (Card Verification Value) is the 3-digit security code on the back of the card. It is not part of the card number, so a number validator cannot check it.
Do RuPay card numbers use the Luhn algorithm?
Yes. The last digit is a Luhn (mod 10) check digit.
Why would a valid RuPay card number still be declined?
A valid number only proves the format is right. RBI e-mandate rules on recurring payments, Domestic-only cards, Insufficient funds are common reasons a RuPay payment still fails.