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.
Example: Validate BIN
Notice that the Country Code given in the response is in CountryIsoCode2
.
Please, remember that our system works with CountryIsoCode3
Last updated