BIN

DEFINITION

BIN, or Bank Identification Number, is the first 6-8 digits of a payment card number that identify the issuing institution and card attributes.

BIN stands for Bank Identification Number, the first 6-8 digits of a payment card number that identify the institution that issued the card. Also called the Issuer Identification Number (IIN), the BIN tells a merchant or processor which bank stands behind a card and encodes attributes such as the card brand, the card type, and often the issuing country.

Because the BIN sits at the front of every card number, a system can read it before a transaction is authorized, which makes it useful for decisions that happen at or before checkout. From the BIN, a system can tell whether a card is credit or debit, consumer or commercial, and where it was issued, without needing the full account details. A subscription platform such as Recurly can use BIN-level attributes to inform routing, presentation, and risk decisions during recurring billing including identifying sub-brands that require consumer choice, compliance management, avoiding storing cards that do not support recurring, and routing debit and credit brands to the appropriate gateway or network

Why BIN matters for subscription businesses

For recurring revenue, small routing and handling decisions repeat on every renewal, so getting them right adds up. BIN data helps a business make those decisions well: it can route a transaction to the processor or acquirer that performs best for a given card origin, present the right currency or local method, and apply risk rules that fit the card's profile. Across thousands of renewals, better-informed routing can improve authorization rates and reduce cost.

BIN data also supports fraud and compliance work. Knowing the issuing country and card type helps flag authorization requirements and metadata mismatches, such as a billing address that does not fit the card origin, and helps apply the correct handling for commercial versus consumer cards. Recurly employs machine learning internally and partners with gateways and networks to keep our BIN-awareness and health up to date.

How BIN works

Reading and using a BIN in a payment flow generally involves:

  1. The system takes the leading digits of the card number, historically the first six and increasingly the first eight.

  2. It looks those digits up against a BIN reference to identify the issuer, brand, card type, and country.

  3. It applies decisions based on those attributes, such as routing to a specific acquirer, choosing a display currency, or setting a fraud rule.

  4. The transaction proceeds to authorization with those decisions applied.

  5. For subscriptions, the same attributes inform how renewals and retries are handled.

Card networks have been expanding BIN length from six to eight digits, so systems that parse BINs need to account for the longer format to keep lookups accurate while meeting PCI requirements.

Benefits and examples

Using BIN data well can support:

  • Smarter transaction routing, sending a card to the acquirer that authorizes it best.

  • Better authorization rates, when routing and handling fit the card's origin and type.

  • Stronger fraud screening, using issuing country and card type as signals.

  • Correct handling of debit versus credit and consumer versus commercial cards.

  • Localized checkout, such as presenting a currency that matches the card's country.

As an illustration, a subscription business with customers in several countries might route each renewal through a local acquirer chosen from the card's BIN country, aiming to lift authorization rates on international cards. This example is illustrative and not tied to any specific merchant result.

Frequently asked questions

What is a BIN in payments? It is the Bank Identification Number, the leading digits of a card number that identify the issuing institution and encode attributes like card brand, card type, and issuing country. It is also called the Issuer Identification Number, or IIN.

How many digits is a BIN? Traditionally the first six digits of the card number. Card networks have been moving to an eight-digit standard, so many systems now read the first eight digits to identify the issuer accurately.

What is BIN data used for? Common uses include routing a transaction to the best acquirer, screening for fraud using card origin and type, applying the correct handling for debit or commercial cards, and localizing the checkout. In subscriptions these decisions repeat on every renewal.

Is a BIN sensitive cardholder data? The BIN identifies the issuer, not the individual, so it is less sensitive than the full card number. The full account number and related details still must be handled under the applicable payment security requirements including 8 digit bins, which should still mask the last two digits.