Card information by BIN
Last updated
Last updated
To get it from the API, we recommend using the Unitpay PHP-SDK library.
Successful response
Error response
Errors:
Technical errors:
Value
Description
bin
number
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 which the card is served in.
category
string
Card category
type
string
Card type
bankUrl
string
Bank Url
bankPhone
string
Bank phone number
Value
Description
message
string
Information with a description of the request error
code
int
Error code, see detailed explanation in the table below
Description
100
No matches were found for your query
Description
-32000
Authorization error
-32602
Invalid request parameters
-32603
Internal technical error
Value
Description
login
string
Partner's email in the UnitPay system
secretKey
string
Partner's secret key, available in the profile settings
bin
number
First 6 digits of the card number