Skip to main content

BIN Lookup

Quick Reference

WhatBIN lookup service
WhyIdentify card brand, type, and issuer from card number prefix

The Bank Identification Number (BIN) is the leading 6 to 8 digits of a card number. Use the BIN lookup endpoint to identify the card brand, type, category, and issuing bank before processing a charge.

Why BIN lookup

Use caseBenefit
Fraud preventionVerify card origin matches billing country
Payment routingRoute by card type to the optimal acquirer
UX enhancementAuto-detect brand and show the correct logo
ComplianceValidate card category (consumer, corporate, prepaid)
AnalyticsTrack payment patterns by issuer and brand

Endpoint

GET https://core-manager.a55.tech/api/v1/bank/wallet/bin/{card_bin}/
BIN prefix only

Pass only the BIN prefix (6-8 digits), never the full PAN. Sending a full card number is a security risk — only the first 6-8 digits are needed for lookup.

Request

curl -X GET "https://core-manager.a55.tech/api/v1/bank/wallet/bin/453212/" \
-H "Authorization: Bearer YOUR_TOKEN"

Response

{
"bin": "453212",
"brand": "VISA",
"type": "CREDIT",
"category": "CONSUMER",
"issuer": "Banco do Brasil",
"code": "001",
"country": "BR"
}
FieldTypeDescription
binstringThe queried BIN prefix
brandstringCard network (VISA, MASTERCARD, ELO, etc.)
typestringCREDIT or DEBIT
categorystringCONSUMER, CORPORATE, or PREPAID
issuerstringIssuing bank name
codestringIssuer bank code
countrystringTwo-letter ISO country code

Error responses

StatusCodeReason
400Bad RequestBIN format invalid (non-numeric or wrong length)
401UnauthorizedMissing or expired authentication token
404Not FoundBIN not recognized in database

Brands and BIN ranges

BrandBIN rangeNotes
VISA4xxxxxMost common in LATAM
MASTERCARD51-55xxxx, 2221-2720Second largest network
AMEX34xxxx, 37xxxx15-digit PAN
ELO636368, 438935, 504175Brazil only
DINERS300-305, 36, 38
DISCOVER6011, 644-649, 65
HIPERCARD606282Brazil only
JCB3528-3589

Sandbox test BINs

BINBrandType
453212VISACredit
531234MastercardDebit
374512AMEXCredit
650432EloCredit
401178EloDebit
Layered risk strategy

Combine BIN lookup with fraud scoring and 3DS to build a layered risk strategy before submitting charges.