What Is a BIN Number? How Payment Card BINs Work
A BIN, or bank identification number, is the first six or eight digits of a payment card number. See how to read it, why BINs moved to eight digits, what a BIN tells a merchant, how it differs from a routing number, and what to do when a merchant says your card type is not accepted.
VirtualCardMaker.com, powered by Zil Money is a financial technology company, not a bank. Banking and money movement services are provided through partner financial institutions, including Citizens Bank, N.A., and licensed service providers. FDIC insurance coverage applies only to eligible deposit products and accounts, and is subject to applicable terms, conditions, limitations, and requirements. Additional information regarding partner institutions, products, and services is available in the applicable terms and agreements.
Read summarized version with:
A BIN is the first six or eight digits of a payment card number. It helps identify the card issuer and route a payment, but it does not show whether a payment will be approved.
This guide is for business owners, finance teams and cardholders. It covers how to read a BIN, why BINs moved to eight digits, what merchants learn from one, and what to do when your card type is not accepted.
What is a BIN number?
A bank identification number is the issuer prefix at the start of a payment card number. It tells the payment system which institution issued the card, so an authorization request can reach the right place.
The international standard ISO/IEC 7812 calls this prefix the issuer identification number, or IIN. In the US, the American Bankers Association registers these numbers and notes that the IIN is often called a BIN. In practice, the two terms mean the same thing.
The full card number is called the primary account number, or PAN. So the BIN number of credit card, debit and prepaid numbers alike is the opening part of each PAN, not a separate number.
How do you read a BIN on a payment card?
Count from the left of the card number. The table below shows how a typical 16-digit card number breaks down. The digits are masked on purpose: this is a layout, not a real card.
| Positions on a 16-digit card | 1 to 6 | 7 and 8 | 9 to 15 | 16 |
|---|---|---|---|---|
| Masked example | X X X X X X | X X | X X X X X X X | X |
| What it is | Six-digit BIN (older ranges) | The two extra digits in an eight-digit BIN | Account identifier | Check digit |
The very first digit is the Major Industry Identifier. Under the standard it reflects the issuer's industry, and it does not limit where the card can be used. Card numbers are not all 16 digits long, so the account part can be shorter or longer.
Can a BIN show the card network?
Often, yes. Each network publishes its own guidance on the numbers it uses.
- Visa: its BIN expansion FAQ for merchants says Visa issuing BINs start with 4.
- American Express: its merchant guidance lists card numbers that start with 34 or 37.
- Mastercard: its developer documentation lists ranges starting 51 to 55 and 2221 to 2720.
The network is only one piece. The rest of the BIN points to a specific issuer and card program.
Is a BIN six or eight digits?
Both are in use. For years a BIN meant the first six digits. In 2017, ISO published a revised edition of ISO/IEC 7812-1 that expanded the IIN to eight digits, mainly to create more issuer numbers.
There was no single switch date for everyone. Networks and issuers moved on their own timelines. Visa, for example, says it began assigning eight-digit BINs in 2019, with its merchant mandate running to April 2022.
So when someone says "the first six digits," they are using the older shorthand. The accurate answer today is six or eight, depending on the card range.
Why this matters for masked card numbers. Receipts and apps often show only part of a card number. The PCI Security Standards Council sets limits on how many digits can be displayed, and those limits were updated for eight-digit BINs.
What does a BIN tell a merchant?
On its own, a BIN is just a number. Merchants and payment processors match it against BIN data supplied by networks or data providers. What comes back depends on the source and the card range.
| Field | What it means | Why a merchant cares |
|---|---|---|
| Card network | The network the card range belongs to | Sends the payment down the right network path |
| Issuer | The institution or program behind the range | Shows where the authorization request goes |
| Card type | Credit, debit or prepaid, where the data includes it | Some setups apply their own rules by card type |
| Consumer or business | A personal or business card label, where available | Can affect reporting or acceptance settings |
| Issuing country | The country of the issuer | Used in routing and risk review; it is not the cardholder's location |
What a BIN cannot tell anyone matters just as much. It does not identify the cardholder, show the account balance, or confirm that a payment will go through. Only the issuer's authorization decides that.
A BIN is also different from a merchant category code. The BIN identifies the card issuer, while a merchant category code describes the merchant's business.
BIN vs IIN vs card number vs routing number
These terms get mixed up, especially in search results. Here is how they differ.
| Term | What it is | What it is not |
|---|---|---|
| BIN | The common name for the issuer prefix of a card number | Not a full card number or a bank routing number |
| IIN | The ISO/IEC 7812 term for the same prefix, now eight digits for new ranges | Not the full card number |
| PAN (card number) | The full number that identifies the issuer and the card account | Not a checking account number |
| Bank account number | Identifies a deposit account; paired with a routing number for checks, ACH and wires | Not part of a card number |
| ABA routing number | A nine-digit number that identifies a US financial institution for checks, ACH and wires | Not a card BIN |
Why might a merchant decline a card based on its BIN?
Some payment processors let merchants set rules using BIN data. A merchant might filter by card type, such as prepaid, by issuing country, or by network. These are settings in the merchant's own payment setup.
Card network rules limit how far this can go. Visa's rules include an honor all cards principle, with regional and product exceptions. Mastercard's rules restrict systematic declines of cards from particular issuers or locations.
A decline can also come from somewhere else entirely. The issuer may decline the authorization, or the processor may flag the payment for risk. Generic messages often hide which one happened.
What to do when a merchant says your card type is not accepted
- Write down the exact message
Note the wording, the date, the amount and whether you paid online or in person.
- Ask the merchant what it accepts
Check which networks and card types it takes for that kind of purchase, such as a subscription or a deposit.
- Ask your card provider
The provider can see whether the issuer declined it or the request did not reach the issuer at all.
- Try another payment method if you need to
If the merchant does not accept that card type, use another method it accepts.
- If you are the merchant, check your settings
Look at the processor's response code and any card type, country or BIN rules on your account before telling a customer why.

Is it safe to share a BIN number?
A BIN on its own does not let anyone make a payment. It is shared by many cards from the same issuer range, and merchants use it every day to process payments.
That does not make card digits public information. The PCI Security Standards Council sets limits on how much of a card number businesses can display, and those rules are not permission to post card numbers anywhere.
Keep the full card number, expiry date and security code private, and share only what a trusted party asks for.
What is a BIN attack?
A BIN attack is a form of card testing. Fraudsters start from a known BIN, generate possible card numbers, and try them in small payments to find ones that work. The PCI Security Standards Council and NCFTA describe it as account testing.
For merchants, the warning signs are bursts of small, failed or unusual payments. Processors offer fraud tools for this. Talk to yours if you see it.
Before you pay a new merchant: a four-point check
- Confirm the payment type. Make sure the merchant is asking for a card payment, not a different number such as a bank account.
- Check what it accepts. Look for the networks and card types it takes, especially for subscriptions, deposits and bookings.
- Keep the details. If the payment fails, save the exact message, date and amount.
- Ask before you blame the card. Check with the merchant and your card provider before assuming the BIN caused it.
Where Virtual Card Maker fits
Virtual Card Maker lets businesses issue Visa virtual cards that draw from a prepaid company wallet funded by ACH or wire. The way the wallet and cards work keeps each card separate, so you can freeze or cancel one card without touching the rest.
Each card has its own spending limit, and the card controls include merchant, category, country and time restrictions where supported. Teams that pay suppliers can give each one a dedicated vendor card.
These controls decide how your cards can be used. They do not set a merchant's own acceptance rules, so if a merchant declines a card type, check with that merchant and with us.
Give every vendor its own card
Issue Visa virtual cards from one company wallet, with limits and controls on each card.
FAQs
What is a BIN number?
Is a BIN the first six digits of a card?
What is an 8-digit BIN?
How do I find the BIN number on my card?
What does a BIN tell a merchant?
Why does my card say "card type not accepted"?
Is it safe to share a BIN number?
What is an Rx BIN number?
Know what the digits can and cannot tell you
A BIN points to the issuer behind a card. It helps route payments and feeds merchant rules, but the decision to approve a payment sits with the issuer and the merchant's setup.
Create your account to issue Visa virtual cards with limits on each card, or talk to our team about your setup.
Issue a card with these rules on it.
Set the limit, restrict the merchant, choose the active window, and send the card. Every charge lands in one dashboard, already attributed.
Build one in Card StudioNext, on the same problem.
- Basics
What happens when a virtual card payment is disputed or flagged as fraud
A charge on the statement looks unfamiliar, or a vendor bills the wrong amount. Here is the general shape of the process: what to check before you assume the worst, how to freeze the card the right way, and what a card network review can and cannot promise once you report it.
July 1, 2026 · 8 min read - Basics
Merchant Category Codes: What They Are and How to Use Them
A merchant category code (MCC) tells a card program what kind of business a merchant is. Learn who assigns it, the codes business cards meet most, how to find a merchant's code, and how to use category locks without blocking the purchases your team needs.
November 27, 2026 · 12 min read - Basics
How to add a virtual card to Apple Pay or Google Pay.
Your virtual Visa card has a 16-digit number, an expiration date, and a CVV, which means it can live in Apple Wallet or Google Wallet just like any other card. Add it once and tap to pay at any contactless terminal. No plastic required, and the spend limit you set on the card follows it wherever it is used.
June 20, 2026 · 7 min read
The next vendor gets its own Visa card.
Not the shared one. Its own number, its own ceiling, its own line in the ledger.










