What Is a BIN Number? Bank Identification Number Explained
What Is a BIN Number? Bank Identification Number Explained
Global Payments

Published on 20/11/2026

What Is a BIN Number? Bank Identification Number Explained

Accept card payments from Indian customers

Talk to Xflow about Visa, Mastercard and RuPay cards plus UPI, settled to you abroad.

A BIN number, or bank identification number, is the first 6 to 8 digits of a credit, debit or prepaid card number. These digits identify the bank that issued the card, the card network, the card type and the country of issue. The same digits are also called the issuer identification number, or IIN.


For a business that takes card payments, the BIN is one of the first things your payment provider reads, because it decides where a payment goes for approval. It also feeds the fraud checks, card-type rules and dispute alerts that run before the money reaches you.


Knowing what a BIN shows, where it sits in a card number and why some are now 8 digits long helps you read your payment data correctly. It also helps you look one up safely, tell a BIN apart from a routing number or SWIFT code, and see what happens when your customers pay with cards issued in India.


Bank identification number example: how a card number breaks down

A card number has four parts, and the bank identification number is the first of them. This example uses 4111 1111 1111 1111, a number that payment providers publish for testing, so it is never a real card.

Part of 4111 1111 1111 1111DigitsWhat it identifies
Major industry identifierFirst digit (4)The broad card industry the number belongs to
Bank identification numberFirst 6 or 8 (411111 or 41111111)The issuing bank, the network and the card product
Individual account numberThe middle digitsThe single account the card is linked to
Check digitThe last digitA Luhn check that catches a mistyped number

The first digit, the major industry identifier, usually signals the industry: 3 for American Express, 4 for Visa, 5 for Mastercard and 6 for Discover, though issuers do not always follow it.


The whole string is the primary account number, or PAN. A 6-digit or 8-digit BIN leaves the rest of the PAN to identify the account, which is why two cards from one bank can share a BIN but never a full PAN.


What a BIN number tells you about a card

A BIN number tells you who stands behind a card before any money moves. Your payment provider matches the leading digits against a BIN database and returns a short profile of the card. You may see these digits labelled the BIN code or card BIN in a dashboard, but they describe the same thing.

What the BIN showsHow a merchant uses it
Issuing bankConfirms a real issuer stands behind the card
Card network (Visa, Mastercard, American Express, RuPay)Routes the payment and applies network rules
Card type (credit, debit, prepaid)Drives acceptance rules, such as refusing prepaid for trials
Card level (consumer, business, premium)May signal the likely fees and limits on the card
Issuing countryFlags the payment as domestic or cross-border

The BIN never shows the cardholder's name, balance or account number. It only describes the card product, so logging or sharing it does not expose a single customer.


Is a BIN 6 or 8 digits? The 8-digit BIN change

A BIN can be 6 or 8 digits today, which is why sources disagree. ISO/IEC 7812-1, the international standard for card numbers, was revised in 2017 to let the issuer identifier run up to 8 digits, while the card number keeps the same maximum length of 19 digits. The change gives issuers many more ranges to assign.


Visa now assigns only 8-digit BINs for new payment credentials, and Mastercard also began assigning 8-digit BINs from April 2022. Existing 6-digit BINs still work, so you will see both lengths in your payment data.

What the 8-digit change means for your systems

If your fraud rules, reports or routing tables match on the first 6 digits, they can now group two different card products together. Ask your payment provider whether its BIN data uses 8 digits, and update any rules you wrote yourself.


How banks, processors and merchants use BINs in card payments

Routing the payment to the right issuer


The BIN tells the card network which issuer should approve a payment. Your acquirer, the bank or processor that accepts cards for you, sends the authorisation request through the network to that issuer, often through a payment gateway.


The issuer then approves or declines in real time. The same leading digits also mark a card as foreign when its issuer sits in another country, which is why a payment from abroad can follow a different path from a domestic one.


Fraud screening with BIN country and billing country


Fraud tools compare the BIN country with the customer's billing country, shipping address and IP address. A card issued in one country, used from a second and shipped to a third, gets a closer look.


The card type matters too, since a prepaid card on a high-value order can carry more risk than a bank-issued credit card. When the risk score rises, some checkouts ask for extra verification such as 3D Secure.


Card-type rules for prepaid, corporate and premium cards


Because the BIN shows whether a card is prepaid, debit, business or premium, you can set rules by type. A subscription business may refuse prepaid cards on free trials, since they are often loaded once and then emptied.


The card type and region also help decide the interchange fee charged on each payment, so your cost of acceptance shifts with the mix of cards you take. The same data can tie a dispute back to the issuer before it becomes a chargeback.


How to check a card's BIN safely and find it on your card

How merchants look up a BIN without exposing card data


To check a BIN number, enter only the first 6 to 8 digits into a lookup, never the full primary account number (PAN), the expiry date or the security code. A BIN lookup and your own processor dashboard both show the same details for each payment.


The result shows the network, issuer, country and card type, which is enough to build or test a fraud rule. Treat it as a hint rather than a fact, because a BIN database can lag behind reissued ranges and show details that have since changed.


How a cardholder finds the BIN on their own card


If you are a cardholder, the BIN is the first 6 to 8 digits of the long number on the front of the card, and your banking app shows the same digits. It sits in the same place on credit, debit and prepaid cards.


Because a BIN is shared by a whole batch of cards, it identifies the issuer and the product, not you, and it exposes no account. Even so, keep the rest of the card number, the expiry date and the security code private.


BIN vs IIN vs routing number vs SWIFT code and what each identifies

BIN and IIN mean the same thing, while the other two codes belong to bank transfers. A routing number identifies a US bank for ACH and wire payments, and a SWIFT code identifies a bank for international transfers.

CodeWhat it identifiesLengthUsed for
BINThe card issuer and card product6 to 8 digitsCard payments
IIN (issuer identification number)The same as a BIN, its formal name6 to 8 digitsCard payments
Routing numberA single US bank9 digitsACH and wire transfers in the US
SWIFT code (BIC)A bank or branch worldwide8 or 11 charactersInternational bank transfers

None of these is the business identification number used for tax, which is a different kind of ID altogether.


What a BIN shows when customers pay with Indian cards

When a customer in India pays with a card, the BIN marks it as issued in India, so your provider handles the payment as cross-border. Indian customers carry Visa, Mastercard and RuPay cards, so match on full BIN data rather than the first digit or two to tell the networks apart.

Payment from IndiaDoes a BIN apply?What to expect
Visa or Mastercard cardYesTreated as a foreign card by acquirers outside India
RuPay cardYesNeeds an acquirer that accepts RuPay
UPI or netbankingNoBank-account payments carry no card number

Cross-border card payments can be declined more often than domestic ones, because some issuers apply stricter checks to a foreign merchant. Offering local methods such as UPI alongside cards gives Indian customers another way to pay when a card is declined.


Limits of BIN checks and how to avoid blocking good customers

BIN data is useful, but blocking on it alone turns away real customers. Four limits are worth keeping in mind.


  • Shared and reissued ranges - BIN ranges can be released and reassigned, and databases update late, so an older lookup can show the wrong issuer, type or country for a card.
  • Travellers and expats - A card country that does not match the billing country is often a customer abroad or a remote worker, not a fraudster, so weigh it with other signals.
  • VPNs and proxies - A masked IP address can make a genuine customer look foreign, so an IP-to-BIN mismatch on its own is weak evidence.
  • Use BIN as one signal - Use the BIN alongside address checks, device data and payment history, then review your decline rate by country to catch rules that are too strict.

How Xflow helps you accept card payments from India

Xflow's cross-border payments platform helps global businesses collect from customers in India without building the card logic themselves. Through Xflow you can accept payments from India by Visa, Mastercard and RuPay cards, UPI, UPI AutoPay, card mandates, e-NACH and netbanking.


Settlement reaches you in T+2, or two business days. Your Indian customers can pay with the method they already use, whether that is a card your checkout recognises by its BIN or a local bank transfer.

Start collecting card and UPI payments from India


Conclusion

A BIN number is the first 6 to 8 digits of a card, and it tells your payment provider who issued the card, on which network, of what type and in which country. That one lookup drives routing, fraud checks, card-type rules and pricing.


Treat the BIN as one signal among several, check that your rules handle 8-digit BINs, and give customers in India local ways to pay when a card is declined.


Frequently asked questions

A BIN number, or bank identification number, is the first 6 to 8 digits of a card.


It identifies the issuing bank, the card network, the card type and the country of issue, and it is also called the issuer identification number (IIN).

Yes. The issuer identification number is the formal name in the card-numbering standard, and bank identification number is the older name most banks and payment providers still use. Both mean the first 6 to 8 digits of a card.

The card-numbering standard moved the issuer identifier up to 8 digits, and Visa has assigned only 8-digit versions for new requests since April 2022. Existing 6-digit BINs still work, so both lengths appear in payment data.

The first 6 to 8 digits of the long number printed on the front of your card are the BIN, and your banking app shows the same digits. It sits in the same place on credit, debit and prepaid cards.

Not on its own. A BIN is shared by every card in the same product range and does not include your account number, expiry date or security code, so it exposes no single account.


Fraud generally needs the full card details.

Not always. Each card product has its own BIN, so a credit card and a debit card from the same bank usually start with different digits. A replacement card for the same product often keeps the same BIN.

Yes, when you enter only the first 6 to 8 digits. Never paste a full card number, expiry date or security code into a lookup site, because that is protected card data and can put your customer at risk.

Related Posts