# Validate Account

Check that a beneficiary bank account exists and, when a name is supplied, that it matches the account holder. India only (`country` must be `IND`).

Endpoint: POST /v2/validate_account
Version: 3.0.0
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

## Request fields (application/json):

  - `country` (string, required)
    Enum: "BGD", "IND", "PAK", "PHL", "NPL", "EGY", "VNM", "NGA"

  - `account_number` (string, required)
    Bank account id of the beneficiary. The same value `POST /v2/payment` takes as `beneficiary_account_number`.

  - `bank_branch_code` (string, required)
    Indian Financial System Code (IFSC) of the bank branch, e.g. `HDFC0001234`.

  - `beneficiary_name` (any)
    Bank account holder name

## Response 200:

  - `200` (unknown)
    Successful Response

## Response 200 fields (application/json):

  - `account_number` (string, required)
    Bank account id of the beneficiary.

  - `bank_branch_code` (string, required)
    Indian Financial System Code (IFSC) of the bank branch

  - `status` (string, required)
    Result of a beneficiary account check.
    Enum: "valid", "invalid", "nre", "pending"

  - `name` (any)

## Response 400:

  - `400` (unknown)
    Bad data in the request

## Response 400 fields (application/json):

  - `detail` (any)

## Response 401:

  - `401` (unknown)
    Access token not valid or expired

## Response 401 fields (application/json):

  - `detail` (any)

## Response 403:

  - `403` (unknown)
    Access token missing permissions to access the resource

## Response 403 fields (application/json):

  - `detail` (any)

## Response 422:

  - `422` (unknown)
    Unprocessable Entry

## Response 422 fields (application/json):

  - `detail` (any)

## Response 429:

  - `429` (unknown)
    Request rate is too high; back off and retry. Where a `retry-after` response header is present it gives the number of seconds to wait.

## Response 429 fields (application/json):

  - `detail` (any)

## Response 429 headers (application/json):

  - `retry-after` (integer)
    Seconds to wait before retrying this request.

## Response 500:

  - `500` (unknown)
    Internal server error (contact administrator)

## Response 500 fields (application/json):

  - `detail` (any)

