Bank account validator
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:
The bank account, branch and type are valid.
The account exists in the bank.
The bank account belongs to the beneficiary details indicated (Document, name, etc).
The amount specified is within the minimum and maximum limits (optional, only performed if amount is sent).
The account can receive funds (it's not blocked, closed, etc).
ISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ)
Merchant X-Login Cashouts API Key
Authorization control hash
Country of the bank account to validate (ISO 3166-1 alpha-2).
Document of identity of the beneficiary.
Type of the document specified.
First name of the beneficiary.
Last name of the beneficiary.
Amount of the withdrawal.
Currency of the amount (ISO 4217).
No Content. The bank account is valid and passed all validations.
No content
Bad Request. A validation error occurred.
Unauthorized. Invalid credentials were provided.
POST /v5/account/validate HTTP/1.1
Host: api-stg.directa24.com
X-Date: 2025-08-29T19:02:55.012Z
X-Login: text
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 228
{
"country": "BR",
"document": "84932568207",
"document_type": "CPF",
"first_name": "Ricardo",
"last_name": "Carlos",
"amount": 100,
"currency": "BRL",
"bank_account": {
"bank_code": 100,
"account": "123456-7",
"branch": "6789-X",
"account_type": "S"
}
}
No content
Last updated
Was this helpful?