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

bank*

Object

Mandatory. Bank object.

bank.code*

String

branch

Object

branch.code

String

Branch code. Only mandatory for brazilian's bank account. It lenght should be between 1 to 5 characters

bank.account*

Object

bank.account.number*

String

Mandatory. Bank account number.

type*

String


    {
        "code": "200",
        "description": "Valid bank code and account number"
    }

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.

{
    "country" : "ARG",
    "bank" : {
        "code" : "191",
        "account" : {
            "number" : "1910119655111901676653",
            "type" : "s"
        }
    }
}

Examples: Bank account validations response

{
    "code" : "200",
    "description" : "Valid bank code and account number"
 
}

Check the CountryISO Code3 in the following section:

Check our bank code list in the following section

Check the bank account validations requirements in each country in the following section:

Last updated