Card information by BIN

With this API request, you will be able to find out the BIN information of the card.

https://unitpay.ru/api?
     method=getBinInfo
     params[login]=partner@mail
     params[bin]=477964
     params[secretKey]=key

login

string

Email associated with the UnitPay system

secretKey

string

Partner's secret key, available in profile settings

bin

number

First 6 digits of the card number

Successful response

{"result": {
    "bin": "477964",
    "bank": "Alfa Bank",
    "countryCode": "RU",
    "brand": "VISA",
    "category": "CLASSIC",
    "bankUrl": "http://alfabank.com/russia/",
    "bankPhone": "7 495 620-91-91"
}}

bin

string

First 6 digits of the card number

bank

string

Name of the bank where the card was issued

countryCode

string

Country code in Alpha-2 format (ISO 3166-1)

brand

string

Name of the international system in which the card is serviced

category

string

Категория карты

type

string

Card type

bankUrl

string

Bank url

bankPhone

string

Bank phone number

Example of an incorrect answer

{"error": {
    "message": "Nothing was found for your request",
    "code": 100
}}

message

string

Information describing the request error

code

string

Error code, detailed decoding in the table below

Description of errors

100

Nothing was found for your request

Technical errors:

-32000

Invalid authorisation parameters (login, secret key)

-32602

Invalid query parameters

-32603

Internal technical error

Last updated

Was this helpful?