Payments6 min readUpdated October 15, 2026

What Is a Bank Identification Number (BIN)?

What a BIN is, BIN vs IIN, why new BINs have 8 digits since April 2022, a test card broken down digit by digit, and what BIN data tells a merchant.

Article summary

TL;DR

A bank identification number (BIN) is the first 6 or 8 digits of a payment card number. It tells the payment chain which issuer holds the card and which card program it belongs to: brand, credit, debit or prepaid, consumer or commercial, issuing country. ISO calls it the Issuer Identification Number (IIN). Visa has licensed 8-digit BINs since April 2022.

  • BIN and IIN are the same digits. IIN is the ISO/IEC 7812 name; BIN is the name Visa and most processors use.
  • Visa defines a BIN as 6 digits if licensed before 22 April 2022, and 8 digits otherwise. Card numbers did not get longer: a 16-digit Visa number stays 16 digits.
  • Visa forbids mixing credit, debit and prepaid cards, or consumer and commercial cards, on one BIN. That is why the BIN reliably tells you the card type.
  • Processors turn the BIN into fields you can use: Stripe's card.funding and card.country, Adyen's fundingSource, issuingCountry and commercial.
  • Merchants use BIN data for routing, risk rules and checkout display. Rules written for 6 digits can lump different card programs together.
Want to go further? AskChatGPTClaudePerplexityGrok
On this page

What is a bank identification number?

A bank identification number (BIN) is the opening group of digits in a card number that identifies the card issuer. Visa's rulebook gives the exact definition. A BIN is either "a 6-digit identifier assigned by ISO to Visa and then licensed by Visa to an Issuer before 22 April 2022," or "an 8-digit identifier assigned by ISO to Visa and then licensed by Visa to an Issuer and that comprises the first 8 digits of an Account Number."1Visa Core Rules and Visa Product and Service Rules, April 18, 2026

So the chain is: ISO allocates number ranges to the network, and the network licenses BINs to issuers. Visa calls the issuer that holds a BIN the BIN Licensee, and an issuer that uses a sponsor's BIN a BIN User. Our issuer processor page explains those roles.

BIN vs IIN. They are the same digits. The ISO/IEC 7812 standard says Issuer Identification Number (IIN), because cards are not only issued by banks. NSAI, which registers IINs in Ireland, puts it simply: "The IIN is the first 8 digits on front of debit cards, credit cards, and other cards."3NSAI (National Standards Authority of Ireland), Registration schemes: IIN, OID, RID (read October 14, 2026)

How to read a card number

A card number (the PAN) has three parts. The first digit is the Major Industry Identifier (MII). The BIN starts with it. Then comes the account identifier chosen by the issuer, and the last digit is a check digit computed with the Luhn algorithm.

Fig. 1Stripe's Visa test number, read with an 8-digit BIN

PartDigitsWhat it means
MII (first digit)4Visa numbers start with 4
BIN / IIN4242 4242Issuer and card program
Account identifier4242 424One account inside that program
Check digit2Makes the number pass the Luhn check
Stripe documented test number 4242 4242 4242 4242, not a real card. Split shown for illustration.

Stripe confirms the check digit matters: a number that fails the Luhn check, such as 4242424242424241, returns an incorrect_number error.4Stripe, Testing: test card numbers (read October 14, 2026) Visa requires acceptance devices to "accept all 16-digit Payment Credentials" (section 5.6.1.1).1Visa Core Rules and Visa Product and Service Rules, April 18, 2026 With an 8-digit BIN, a 16-digit Visa number keeps 7 digits for the account plus the check digit.

6-digit vs 8-digit BINs

  1. Before 2017IINs are 6 digits
  2. 2017ISO/IEC 7812-1:2017 adds an 8-digit format
  3. 22 April 2022New Visa BINs are 8 digits
  4. Today6-digit and 8-digit BINs coexist

PCI SSC explains that ISO/IEC 7812-1:2017 "now also defines a format for the use of 8-digit BINs as an alternative to 6-digit BINs."2PCI Security Standards Council, 8-Digit BINs and PCI DSS: What You Need to Know, September 2, 2021 (read October 14, 2026) Old 6-digit BINs were not withdrawn: Visa's definition keeps both. NSAI adds that IINs licensed before 2017 "are subject to grandfathering."3NSAI (National Standards Authority of Ireland), Registration schemes: IIN, OID, RID (read October 14, 2026)

What it means in practice: two 8-digit BINs can share their first six digits. A blocklist or routing rule keyed on 6 digits can then treat two different card programs as one. Adyen returns both values: bin ("the first 6 digit of the card number") and issuerBin ("the first 8 digit").6Adyen, BinLookup API v54: getCostEstimate and get3dsAvailability (read October 14, 2026)

Visa also uses a finer unit, the Account Range: "the first 9 digits of a Payment Credential, used to identify Issuers and products."1Visa Core Rules and Visa Product and Service Rules, April 18, 2026

Inside Tagada

See every payment's route, processor by processor

Set the order your processors are tried in, per store, per country or per product.

See how routing works

What a BIN tells a merchant

Visa forbids an issuer from combining, on a single BIN, "Credit Cards, Debit Cards, and Prepaid Cards" or "Visa Consumer Cards and Visa Commercial Cards" (section 2.2.3.1).1Visa Core Rules and Visa Product and Service Rules, April 18, 2026 That rule is why one BIN maps to one card type. Processors expose the result as fields:

What you learnStripe fieldAdyen fieldTypical merchant use
Card brandcard.brandpaymentMethodLogo at checkout, network rules
Funding typecard.funding: credit, debit, prepaid, unknownfundingSource: CREDIT, DEBIT, PREPAID, CHARGE…Risk rules, subscription eligibility
Issuing countrycard.countryissuingCountryRouting, country checks
Consumer or commercialnot on the card objectcommercialCommercial card handling
Issuer and currencyissuer (in-person only)issuingBank, issuingCurrencyReporting, currency display

Sources: Stripe PaymentMethod object; Adyen BinLookup API v54.5Stripe API reference, The PaymentMethod object, card fields (read October 14, 2026)6Adyen, BinLookup API v54: getCostEstimate and get3dsAvailability (read October 14, 2026) Stripe's own test cards show it: 4000056655665556 is listed as "Visa (debit)" and 5105105105105100 as "Mastercard (prepaid)."4Stripe, Testing: test card numbers (read October 14, 2026)

Visa calls this data BIN Attributes: "account funding source, account funding source subtype, product ID, Issuer name, Issuer country, and Issuer currency." It treats them as proprietary and limits who may disclose them (section 2.2.4.1).1Visa Core Rules and Visa Product and Service Rules, April 18, 2026 Merchants usually receive them through their processor.

How merchants use BIN data

  1. Routing

    The issuing country decides whether a payment is domestic or international, which is the basis of local acquiring and of cross-border payments.

  2. Risk rules

    Funding type, country and brand feed fraud scoring: for example, a card country that does not match the shipping country.

  3. 3D Secure

    Adyen's get3dsAvailability endpoint "verifies whether 3D Secure is available for the specified BIN or card brand."

  4. Card testing

    Fraudsters generate numbers from a known BIN and test them. See BIN attack.

On stored cards, a reissued card can arrive with a new number through the card account updater, so read the BIN fields again on the updated card. For routing strategies, see our guide to dynamic payment routing.

BIN vs other card numbers

NumberLengthIdentifies
BIN / IIN6 or 8 digitsThe issuer and card program
Visa Account Range9 digitsIssuer and product, at a finer level
PANFull card numberOne cardholder account
Merchant ID (MID)Set by the acquirerThe merchant, not the card

How Tagada helps

BIN data inside Tagada's checkout

TagadaPay runs native 3DS2, device intelligence and a rules engine in the checkout, so each card can be screened before authorization. Payments route across TagadaPay and processors such as Stripe, NMI and Airwallex with one logic, with a cascade to another processor when one is down or times out. Tagada follows Visa and Mastercard rules and the laws that apply to payments.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

What is a BIN number on a card?

It is the first 6 or 8 digits of the card number. They identify the issuer and the card program. The rest of the number identifies the individual account and ends with a check digit. A BIN never identifies a person.

What is the difference between a BIN and an IIN?

None in practice. Issuer Identification Number (IIN) is the term used by the ISO/IEC 7812 standard, since issuers are not always banks. Bank Identification Number (BIN) is the older name, still used by Visa and by processors.

Is a BIN 6 or 8 digits?

Both exist. Visa's rules define a BIN as a 6-digit identifier licensed before 22 April 2022, or an 8-digit identifier. ISO/IEC 7812-1:2017 introduced the 8-digit format. Older 6-digit BINs are still in use, so systems must handle both.

Can a BIN tell if a card is debit, credit or prepaid?

Yes. Visa does not allow an issuer to combine credit, debit and prepaid cards on a single BIN (section 2.2.3.1), so the funding type follows from the BIN. Stripe returns it as card.funding and Adyen as fundingSource.

Is a BIN sensitive data?

The BIN alone does not reveal the account. PCI SSC notes that showing the first six and last four digits is the masking format all payment brands accept. Visa still treats its detailed BIN Attributes as proprietary data with limited disclosure (section 2.2.4.1).

Sources

Checked October 15, 2026
  1. Visa Core Rules and Visa Product and Service Rules, April 18, 2026
  2. PCI Security Standards Council, 8-Digit BINs and PCI DSS: What You Need to Know, September 2, 2021 (read October 14, 2026)
  3. NSAI (National Standards Authority of Ireland), Registration schemes: IIN, OID, RID (read October 14, 2026)
  4. Stripe, Testing: test card numbers (read October 14, 2026)
  5. Stripe API reference, The PaymentMethod object, card fields (read October 14, 2026)
  6. Adyen, BinLookup API v54: getCostEstimate and get3dsAvailability (read October 14, 2026)

TagadaPay

Route and screen every card by what its BIN says

Tell us what you sell and how you sell it. Each application is underwritten, and approval is not guaranteed.

  1. 01Tell us what you sell and how
  2. 02Underwriting reviews your business
  3. 03Process through TagadaPay alongside your other processors