---
title: "Validate a bank account"
method: POST
path: "/account/validate"
---

# Validate a bank account

`POST /account/validate`

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).
5. The account can receive funds (it's not blocked, closed, etc).

## Headers

- `X-Date` string, date-time, required
- `X-Login` string, required
- `Authorization` string, required

## Request body

- BankAccountValidationRequest
  - `country` string, required — Country of the bank account to validate (ISO 3166-1 alpha-2).
  - `document` string, required — Document of identity of the beneficiary.
  - `document_type` string, required — Type of the document specified.
  - `first_name` string — First name of the beneficiary.
  - `last_name` string — Last name of the beneficiary.
  - `bank_account` BankAccount, required
    - `bank_code` string — The code of the bank.
    - `account` string — The user's bank account number.
    - `branch` string — The bank branch number.
    - `account_type` string — The type of bank account.
  - `amount` number — Amount of the withdrawal.
  - `currency` string — Currency of the amount (ISO 4217).

## Response `204`

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

## Other responses

- `400` — Bad Request. A validation error occurred.
- `401` — Unauthorized. Invalid credentials were provided.

---

[API](https://skmtc.net/d24/apis/docs-d24-com.md) · [All operations](https://skmtc.net/d24/apis/docs-d24-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/d24/docs-d24-com/revisions/fb0e2ddec198/schema)
