Skip to main content
Free Tool

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.

Try a test card number

RuPay card number format at a glance

Starts with (IIN)60, 65; 81, 82; 508; 353, 356
Length16 digits
Security codeCVV, 3 digits, back of the card
Luhn check digitYes. The last digit is a Luhn (mod 10) check digit.
Issued inIndia. 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 operatorNational Payments Corporation of India (NPCI)

RuPay IIN (BIN) ranges

PrefixNotes
60, 65Shared first digits with Discover
81, 82
508
353, 356RuPay-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)

  1. Start from the rightmost digit (the check digit) and move left.
  2. Double every second digit, starting with the one just left of the check digit.
  3. If doubling gives a number above 9, subtract 9 (same as adding its two digits).
  4. Add every value together. The number is valid if the total ends in 0.
Digit6527658900001005
Double?x2=12-x2=4-x2=12-x2=16-x2=0-x2=0-x2=2-x2=0-
Value3547357900002005

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.

Cookie preferences

Your privacy matters

We use analytics to understand how you use our site and improve your experience. Privacy Policy