3.0.0 • Published 5 years ago

@datafire/bintable v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/bintable

Client library for BIN Lookup API

Installation and Usage

npm install --save @datafire/bintable
let bintable = require('@datafire/bintable').create();

.then(data => {
  console.log(data);
});

Description

BIN lookup API, the free api service from bintable.com to lookup card information using it's BIN. the service maintains updated database based on the comunity and other third party services to make sure all BINs in the database are accurate and up to date.

Actions

balanceLookup

Get Account balance and expiry

bintable.balanceLookup({
  "api_key": ""
}, context)

Input

  • input object
    • api_key required string: The API key, which you can get from bintable.com website.

Output

binLookup

By passing in the appropriate BIN, you can lookup for card meta data in bintable.com API

bintable.binLookup({
  "bin": "",
  "api_key": ""
}, context)

Input

  • input object
    • bin required string: pass the required BIN code
    • api_key required string: The API key, which you can get from bintable.com website.

Output

Definitions

ResponseItem

  • ResponseItem object
    • data required object
    • message required string
    • result required integer