What is Timeout (TIME OUT) in Virtual POS Systems?
What is a timeout in Virtual POS payments, why does it occur, and how should merchants manage this risk? All the details — including critical scenario...
Read More →An 8-digit BIN uses a card's first eight digits to identify the issuer. Visa has assigned only 8-digit BINs since April 2022. What breaks and how to prepare.
As soon as a shopper types the first digits of a card number on a checkout page, the card brand, the bank logo and, in Turkey, the instalment options appear. That lookup runs on the BIN (Bank Identification Number) at the start of the card number. For decades a BIN meant the first six digits, and payment software, instalment tables and routing rules were all built on that assumption.
That assumption no longer holds for every card. The international standard extended the BIN to eight digits, and since April 2022 Visa has assigned new BINs only in the 8-digit format. Below we cover why the change happened, what it can break in a payment stack, how PCI DSS masking and truncation rules handle it, and what merchants and developers should check.
The BIN is the part of the card number (PAN, Primary Account Number) that identifies the issuing institution. The standard calls it the IIN (Issuer Identification Number); Visa and Mastercard call it the BIN. ISO/IEC 7812 defines it, and the American Bankers Association (ABA) manages the number pool on behalf of ISO.
Six digits were enough for a long time. Then issuers began requesting separate BINs for every product (credit, debit, prepaid, commercial, supplementary and virtual cards), fintechs and payment institutions started issuing cards, and card volumes grew sharply during the pandemic. As the pool ran low, ISO/IEC 7812-1:2017 defined an 8-digit format. The card number did not get longer: on a 16-digit card the BIN takes more digits and the account identifier takes fewer.
Visa cards start with 4, so the 6-digit format gave Visa at most 100,000 BINs (400000 to 499999). With eight digits the theoretical pool becomes 10,000,000, a hundredfold increase.
Visa: According to Visa's migration document for issuers, Visa endorsed the standard in 2017 and announced 22 April 2022 as its final effective date. Since April 2022 Visa no longer assigns 6-digit BINs. Issuers may expand some or all of their existing 6-digit BINs to eight digits on their own schedule; there is no mandatory bulk conversion. The same document gives two warnings: over time the same 6-digit root may be common to BINs assigned to different issuers and products, and fraud and risk rules built on 6-digit BINs may be affected (Visa, 8-Digit BIN Expansion). Visa's current page states that it assigns only 8-digit BINs for new payment credentials and that the payment chain can process both 6- and 8-digit BINs (Visa Numerics Initiative).
Mastercard: We could not find an official migration timeline comparable to Visa's in Mastercard's own publications. The PCI SSC truncation table does put Mastercard under the same rule as Visa, Discover, JCB and UnionPay for 16-digit cards with 6- or 8-digit BINs. For developers the work is the same for every brand: accept that a BIN may be six or eight digits, and confirm any Mastercard-specific logic with your acquirer.
Turkey: From what we see in the field, Turkish banks have completed the move. For older 6-digit BINs with long-lived cards in circulation, banks usually expanded the whole range to eight digits. Akbank's 6-digit BIN 435508 is an example: cards issued under it have seventh and eighth digits anywhere from 00 to 99, such as 43550815 and 43550888, so Akbank reserved the full block from 43550800 to 43550899. Existing cards keep working unchanged, and the BIN data now records the issuer as an 8-digit range.
A list of 6-digit BINs assigned to a bank used to be enough to recognise that bank's cards: software looked up the first six digits and read the bank and card type from the table. Under the 8-digit format a single 6-digit root can hold 100 separate 8-digit BINs, so BIN data is stored as ranges with a start and end value. Here is a sample record from BKM's BIN data (BKM, the Interbank Card Center, runs Turkey's domestic card infrastructure):
This record says that every card from 48714600 to 48714699 is a Ziraat Bankası commercial Bankkart credit card. Here the range covers the whole 487146 root, but the same structure can describe a root split into smaller blocks. As Visa warns, BINs under the same root may over time be assigned to different products or even different issuers. A table that looks only at the first six digits will then get the bank, card type or programme wrong.
Problems show up most in systems that loaded a BIN list years ago and cut the card number at the sixth digit in code. The BIN lookup behind checkout logos and instalment options usually sits on such a table. When it is wrong:
| Rule | If the BIN is fixed at six digits | Result |
|---|---|---|
| Instalment options | The issuing bank or card programme is misidentified and another bank's instalment table is shown. (In Turkey, card issuers fund interest-free or low-interest instalment plans at checkout, so the plan depends on the issuer.) | An instalment payment may go through as a single payment or vice versa, or the issuer declines it. |
| Card type (credit, debit, prepaid, commercial) | Instalments are offered on a debit card, or a commercial card is treated as a consumer card. | Declines, unexpected fees, customer complaints. |
| Routing and on-us | The payment is sent to the wrong virtual POS (a bank's online acquiring account) because the issuer was misread. | An Akbank instalment payment may land on a Finansbank virtual POS, or a Finansbank single payment on a Denizbank one; the on-us benefit is lost. |
| Fraud and risk rules | BIN-based blocklists and limits catch the wrong cards and miss the right ones. | False declines or missed fraud. |
| Reporting and cost analysis | Bank and product breakdowns drift and the "unknown issuer" row grows. | Cost and approval-rate analysis leads to wrong decisions. |
We cover how instalments work in Turkey in our guide to instalment payments in Turkey, and why it matters when the card's bank and the POS bank are the same in payment gateways and the on-us / not-on-us concept. For the fraud side, see how AI-powered fraud detection works.
Merchants and off-the-shelf software do not talk to Visa or Mastercard directly, so banks and processors need to give connected companies a way to test the change. Start by asking your bank whether its test environment has cards with 8-digit BINs.
Every system that stores, processes or transmits card data falls under PCI DSS, and "first six, last four" is something every payments team knows by heart. With 8-digit BINs, display and storage need to be read separately:
Keeping different truncated formats of the same PAN (first six plus last four in one table, first eight plus last four in another) makes the full number easier to reconstruct, and PCI SSC warns against it explicitly. First six plus last four remains the format accepted by every brand, so move to eight digits only when you have a real business need. Sources: PCI SSC FAQ 1492 and PCI SSC FAQ 1091. Storing a token instead of the card number removes most of this risk; see card tokenization and network tokenization.
For merchants:
For developers:
Substring(0, 6), LEFT(pan, 6), BIN columns defined as CHAR(6).Treps is not a payment institution. The payment is carried out by the bank or payment institution the merchant has an agreement with, and the money never passes through Treps. Treps is the orchestration layer on top of those channels and gives the merchant a single API for all of them. BINs matter to us in three places:
For more, see our Payment Gateway and Card Storage pages.
A 16-digit card number (PAN) has these parts:
See also what a card brand is and what a prepaid debit card is.
It is a BIN where the first eight digits of the card number identify the issuer and card programme. It was defined in ISO/IEC 7812-1:2017, and Visa has assigned new BINs only in this format since April 2022.
They are still valid and still processed. Issuers can expand them to eight digits on their own schedule, so systems need to recognise both lengths.
For most cards, yes, but it is no longer guaranteed. 8-digit BINs under the same 6-digit root can belong to different products or issuers. Use the first eight digits with longest prefix match.
At most the BIN and the last four digits; with an 8-digit BIN that is the first eight plus the last four. Anything more needs a documented business justification. If the last four digits are enough, show only those.
From what we see in the field, yes. For older 6-digit BINs with long-lived cards, banks usually reserved the full 100-value 8-digit block; Akbank's BIN 435508 became the range 43550800 to 43550899. Existing cards keep working unchanged.
No. The length and use of the card number stay the same. The change is in the back-end software that recognises the card and routes the payment.
For virtual POS, payment orchestration and integration needs, let our expert team guide you to the best solution.
What is a timeout in Virtual POS payments, why does it occur, and how should merchants manage this risk? All the details — including critical scenario...
Read More →In today's digital economy, most of our shopping is conducted via credit and debit cards. What do the logos like Visa, Mastercard and American Express...
Read More →The settlement value date (known in Turkey as valör) is the date on which the proceeds of a virtual POS sale reach the merchant's account and become u...
Read More →