Skip to main content

BIN lookup

GET/api/v1/bank/wallet/bin/{card_bin}/Bearer Token

Request headers

HeaderValueRequired
AuthorizationBearer {A55_ACCESS_TOKEN}Yes

Path parameters

FieldTypeRequiredDescription
card_binstringYesFirst 6 to 8 digits of the card number (e.g., 402400)

Response fields

FieldTypeDescription
binstringBIN digits queried
brandstringCard brand: visa, mastercard, amex, elo, hipercard, diners
typestringcredit, debit, prepaid
categorystringclassic, gold, platinum, black, infinite, business, corporate
issuerstringIssuing bank name
countrystringISO 3166-1 alpha-2 country code
country_namestringFull country name

HTTP status codes

StatusDescription
200BIN found
400Invalid BIN format (must be 6-8 digits)
401Invalid or expired Bearer token
404BIN not found in database
429Rate limit exceeded
500Internal server error

Code examples

curl -s -X GET "https://core-manager.a55.tech/api/v1/bank/wallet/bin/402400/" \
-H "Authorization: Bearer $A55_ACCESS_TOKEN"

Error response example

{
"status": "error",
"message": [
{
"code": "BIN_NOT_FOUND",
"source": "bin_lookup",
"description": "No data found for BIN 999999"
}
]
}