Validation · API
Bank / BIN Lookup
Validate a card BIN or bank account and return the issuing bank, scheme, country and card type.
POST /v1/validate/bank
POST /v1/validate/bank
200 OK
{ "bin": "424242", "scheme": "visa", "bank": "JPMorgan Chase", "type": "credit", "country_code": "US" }
Capabilities
Why teams use it
BIN lookup
Identify the issuing bank from a card BIN.
Bank & scheme
Bank name and Visa/Mastercard/Amex scheme.
Card type
Credit, debit or prepaid classification.
Country & currency
Issuing country and default currency.
Fraud signals
Flag high-risk BINs before checkout.
Real-time
Validate right at the payment form.
Request
Call it in your language
curl -X POST https://api.locanium.com/v1/validate/bank \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: application/json" \ -d '{"bin":"424242"}'
Response
What you get back
- Card BIN
binstring - visa / mastercard / amex
schemestring - Issuing bank
bankstring - credit / debit / prepaid
typestring - Issuing country
country_codestring - Default currency
currencystring
Use cases
What you can build
Validation family
Full parameters, errors and code samples are in the API reference.