Skip to main content

Retrieve BIN

The first 6 digits of the card number are called the BIN number. By using the BIN service, we can obtain information about the card.

URL

The endpoint and http method information to retrieve bin number are stated below.

GETinstallment/v1/bins

Request Parameters

The parameters expected to be sent in requests to bin inquiry are listed under the table and subheadings below.

binNumber
string
required

First 6 or 8 digits of the card number that is used to return installment information.

Response Parameters

binNumber
string

First 8 digits of the card number

cardType
CardType
Values:
CREDIT_CARD
DEBIT_CARD
PREPAID_CARD
cardAssociation
CardAssociation

Card Association

Values:
VISA
MASTER_CARD
AMEX
TROY
JCB
UNION_PAY
MAESTRO
DISCOVER
DINERS_CLUB
cardBrand
string

Represents card programme's of the banks such as Axess and Bonus

bankName
string

Name of the card's bank

bankCode
number

Code of the card's bank

commercial
boolean

Information on whether card is commercial.

Sample Codes

You can review the sample codes in the open source Craftgate API clients.

Loading..