binlist-pure

2.0.0 • Public • Published

Binlist 💳 Build Status

Binlist wrapper for bins.payout.com with zero dependecies and Promise flavor.

Install with: npm install --save binlist-pure

Usage

There are two ways of usage:

// Promise-based
const bin = require('binlist-pure');
bin('411111').then(console.log);
 
// or callback-based
bin('411111', (err, res) => {console.log(res)})

What is binlist

The first 6 digits of a credit card number are known as the Issuer Identification Number (IIN), previously known as Bank Identification Number (BIN). These identify the institution that issued the card to the card holder.

This webservice has an internal database with IIN/BIN information, which is queried via the Rest API. There's no magic or tricky calculations, it's just a database. And although the database is very accurate, don't expect it to be perfect.

Package Sidebar

Install

npm i binlist-pure

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • shmuga