Skip to content

Community driven database to get bank info (name, brand color etc.) by bankcard prefix (BIN)

Notifications You must be signed in to change notification settings

ramoona/banks-db

Repository files navigation

Build Status Latest Stable Version NPM Downloads

Returns bank's name and brand color by bankcard prefix (BIN).

It is useful on billing pages to use bank’s brand color when user starts to type card number.

It's a community driven database, so it can potentially contains mistakes. It's not a problem for UX enhancement, but you must not use Banks DB in your billing logic.

Demo