get https://api.stage.localpayment.com/api/resources/bin-validation
This endpoint validates a Bank Identification Number (BIN) to determine if a debit or credit card is valid. It returns details such as the card brand, issuing bank, card type, and country of issuance. This check can be used before processing a payment to help prevent transaction rejections due to invalid card details.
Keep in mind
The countryCode
given in the response is in CountryIsoCode2, remember that our system works with CountryIsoCode3.