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.
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
| Part | Digits | What it means |
|---|---|---|
| MII (first digit) | 4 | Visa numbers start with 4 |
| BIN / IIN | 4242 4242 | Issuer and card program |
| Account identifier | 4242 424 | One account inside that program |
| Check digit | 2 | Makes the number pass the Luhn check |
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
- Before 2017IINs are 6 digits
- 2017ISO/IEC 7812-1:2017 adds an 8-digit format
- 22 April 2022New Visa BINs are 8 digits
- 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.

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 learn | Stripe field | Adyen field | Typical merchant use |
|---|---|---|---|
| Card brand | card.brand | paymentMethod | Logo at checkout, network rules |
| Funding type | card.funding: credit, debit, prepaid, unknown | fundingSource: CREDIT, DEBIT, PREPAID, CHARGE… | Risk rules, subscription eligibility |
| Issuing country | card.country | issuingCountry | Routing, country checks |
| Consumer or commercial | not on the card object | commercial | Commercial card handling |
| Issuer and currency | issuer (in-person only) | issuingBank, issuingCurrency | Reporting, 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
Routing
The issuing country decides whether a payment is domestic or international, which is the basis of local acquiring and of cross-border payments.
Risk rules
Funding type, country and brand feed fraud scoring: for example, a card country that does not match the shipping country.
3D Secure
Adyen's get3dsAvailability endpoint "verifies whether 3D Secure is available for the specified BIN or card brand."
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
| Number | Length | Identifies |
|---|---|---|
| BIN / IIN | 6 or 8 digits | The issuer and card program |
| Visa Account Range | 9 digits | Issuer and product, at a finer level |
| PAN | Full card number | One cardholder account |
| Merchant ID (MID) | Set by the acquirer | The 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.
Frequently asked questions
What is a BIN number on a card?
What is the difference between a BIN and an IIN?
Is a BIN 6 or 8 digits?
Can a BIN tell if a card is debit, credit or prepaid?
Is a BIN sensitive data?
Sources
Checked October 15, 2026- Visa Core Rules and Visa Product and Service Rules, April 18, 2026
- PCI Security Standards Council, 8-Digit BINs and PCI DSS: What You Need to Know, September 2, 2021 (read October 14, 2026)
- NSAI (National Standards Authority of Ireland), Registration schemes: IIN, OID, RID (read October 14, 2026)
- Stripe, Testing: test card numbers (read October 14, 2026)
- Stripe API reference, The PaymentMethod object, card fields (read October 14, 2026)
- 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.
- 01Tell us what you sell and how
- 02Underwriting reviews your business
- 03Process through TagadaPay alongside your other processors
