Bank Account Validation
Check if a bank account is valid. Use this service before sending a request in order to avoid transaction rejection due to data mismatch.
Bank Account Validation
POST
https://api.stage.localpayment.com/api/validation/bank
Request Body
Name | Type | Description |
---|---|---|
country* | String | Mantory. Country of the bank account to be validated. Country ISOCode3 format. |
bank* | Object | Mandatory. Bank object. |
bank.code* | String | Mandatory. Bank code, according to Localpayment bank codes list. |
branch | Object | Branch object. Only mandatory for brazilian's bank account |
branch.code | String | Branch code. Only mandatory for brazilian's bank account. It lenght should be between 1 to 5 characters |
bank.account* | Object | Mandatory. Account object. |
bank.account.number* | String | Mandatory. Bank account number. |
type* | String |
Bank Account Validation: Example request
Below there are two sample requests, both in json and curl format. The first request example is to validate bank accounts from all the countries that LP works with, except Brazil. The second example is therefore to validate Brazilian bank accounts.
Examples: Bank account validations response
Please Check all the possible error codes in this link
Validation Error CodesCheck the CountryISO Code3 in the following section:
Country CodesCheck our bank code list in the following section
Bank codesCheck the bank account validations requirements in each country in the following section:
Bank account validationsLast updated