---
id: "iin"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["finances"]
langs: ["common"]
quality: 83
url: "https://registry.apicrafter.io/datatype/iin"
---

# Payment card issuer identification number (IIN) (`iin`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Leading digits of a payment card number that identify the institution that issued the card, under ISO/IEC 7812-1. It is also called the bank identification number (BIN). The IIN had six digits; the 2017 revision of the standard extended it to eight. It has no check digit of its own - the Luhn check digit belongs to the whole card number.

- Personal data (PII): no
- Categories: Finances and banking (finances)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9]{6}(?:[0-9]{2})?$
```

## Examples

- `564182` — Switch (now Maestro UK) issuer range, listed on Wikipedia
- `56418` (invalid example) — five digits

## Mappings

- fibo: <https://spec.edmcouncil.org/fibo/ontology/FBC/FunctionalEntities/NorthAmericanEntities/USRegulatoryAgencies/IssuerIdentificationNumber>

## Translations

- ru: Идентификатор эмитента платёжной карты (IIN, BIN)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/ISO/IEC_7812>
- wikipedia: <https://en.wikipedia.org/wiki/Payment_card_number>

## Quality

Score 83/100. Missing: second example, detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/iin.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/finances/iin.yaml>
