Skip to main content
POST
Validate a bank account

Validate a bank account

Validates the correctness of beneficiary details, checks if the account exists in the bank, and confirms if it can receive funds.
The validations performed are:
1. The bank account, branch and type are valid.
2. The account exists in the bank.
3. The bank account belongs to the beneficiary details indicated (Document, name, etc).
4. The amount specified is within the minimum and maximum limits (optional, only performed if amount is sent).\

Headers

X-Date
string<date-time>
required

ISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ)

X-Login
string
required

Merchant X-Login Cashouts API Key

Authorization
string
required

Authorization control hash

Body

application/json

Details of the bank account to validate.

country
string
required

Country of the bank account to validate (ISO 3166-1 alpha-2).

Maximum string length: 2
document
string
required

Document of identity of the beneficiary.

Maximum string length: 30
document_type
string
required

Type of the document specified.

Maximum string length: 10
bank_account
object
required
first_name
string

First name of the beneficiary.

Maximum string length: 255
last_name
string

Last name of the beneficiary.

Maximum string length: 255
amount
number<decimal>

Amount of the withdrawal.

currency
string

Currency of the amount (ISO 4217).

Maximum string length: 3

Response

No Content. The bank account is valid and passed all validations.