Bin Lookup

The BIN Lookup endpoint uses the same authentication model as the Tokenize method in the Mobile API. See the documentation for generating the authentication key here.

Endpoints

API Parameters

ParameterData TypeDescription
TokenExIDstringThe merchant's TokenEx ID.
TimestampstringThe timestamp (UTC) when the hash is generated, in yyyyMMddHHmmss format.
AuthenticationKeystringThe Authentication Key generated on the merchant's server.
DatastringThe PAN to lookup in BIN database
TokenSchemeenumThe Token Scheme to be used to tokenize the provided data. See https://docs.tokenex.com/?page=appendix#token-schemes for TokenSchemes.

Request

{
  "tokenexid": "YourTokenExID",
  "timestamp": "20180109161437",
  "authenticationKey": "3mHJFag1ICQiwRdSw1QY86WUvt3IDklswf6AA/q+wdU=",
  "data": "5454545454545454",
  "tokenScheme": "sixTOKENfour"
}

Response

{
    "Error": null,
    "Success": true,
    "ReferenceNumber": "23102312330562511610",
    "BinData": {
        "BinMin": "4984710000000000000",
        "BinMax": "4984719999999999999",
        "BinLength": 6,
        "CleanBankName": "",
        "ProductName": "Visa Classic",
        "CardBrand": "VISA",
        "CountryAlpha2": "US",
        "CountryName": "UNITED STATES OF AMERICA",
        "CountryNumeric": "840",
        "Type": "Debit",
        "BankName": "GBC INTERNATIONAL BANK",
        "BankUrl": "",
        "BankPhone": "",
        "ProductCode": "F",
        "Prepaid": false,
        "Regulated": false,
        "RegulatedName": "GOVERNMENT EXEMPT INTERCHANGE FEE",
        "Reloadable": false,
        "PanOrToken": "pan",
        "AccountUpdater": true,
        "Alm": false,
        "DomesticOnly": false,
        "GamblingBlocked": false,
        "Level2": false,
        "Level3": false,
        "IssuerCurrency": "USD",
        "CardSegmentType": "Consumer",
        "ComboCard": "",
        "CardBrandIsAdditional": false,
        "CorrelationId": "eyJGaWxlSWQiOjc2OTEsIlZlcnNpb24iOjQyfQ==",
        "SharedBin": false,
        "Cost": [
            {
                "CapFixedAmount": 0.21,
                "CapAdvaloremAmount": 0.0005,
                "CapTypeQualifierText": "US DURBIN REGULATION DEBIT VISA"
            }
        ],
        "Authentication": []
    }
}