Validate BIN
Check if a debit / credit card is valid. Use this service before sending a payment request to avoid transaction rejection due to data mismatch.
Validate BIN
GET http://api.stage.localpayment.com/api/resources/bin-validation?bin=
Check whether a card BIN (first six digits) is valid and look up the associated data.
Query Parameters
Name
Type
Description
bin*
string
Mandatory. Card BIN (first six digits).
Headers
Name
Type
Description
Authorization*
string
Mandatory. JWT token in format Bearer eyj0.... For more information about authentication, please refer to Authentication.
{
"bin": "379911",
"bank": "SANTANDER MEXICO",
"card": "AMERICAN EXPRESS",
"type": "CREDIT",
"level": "PERSONAL PLATINUM REVOLVE",
"country": "MEXICO",
"countryCode": "MX",
"website": "",
"phone": "",
"valid": "true",
"error": null
}Example: Validate BIN
Last updated
Was this helpful?