Skip to content

8-digit bins #8

@Hen-Rex

Description

@Hen-Rex

Hi
The payments industry agreed to move to 8-digit BINs in 2017 due to a shortage of 6-digit BINs. Starting in around 2023, cards started being issued with 8-digit BINs per default, and therefore any BIN list with 6-digit BINs has become outdated. That unfortunately includes this repo, which should migrate to 8-digit BINs to stay relevant.

As a consequence, many of my cards, especially Visa, have the wrong country and issuing bank when I look up in this repo.

Solution:

For Mastercard, they make an SBART file available for free download on their own website, which they state is even allowed to distribute, modify, copy, and resell: https://developer.mastercard.com/bin-lookup/documentation/sbart-file/. All you need is a developer account. It is updated every 3 days and also available through an API. It is a file with the official Mastercard/Maestro/Cirrus/Private Label BIN ranges. It says that the file is "simplified ranges", but it is actually the full set of ranges. It's just the metadata per range that is simplified compared to paid plans.

For Visa, they also have available a "simplified" 8-digit BIN full dataset for download through their API, also for free: https://developer.visa.com/capabilities/visa-bin-attribute-sharing-service/docs-getting-started

I assume many other card schemes have something similar available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions