> For the complete documentation index, see [llms.txt](https://yogupay.gitbook.io/yogupay-payout-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yogupay.gitbook.io/yogupay-payout-api/payouts/payout-africa/payout-nigeria/verify-bank-account-ngn.md).

# Verify Bank Account NGN

<mark style="color:green;">`POST`</mark> `/`[`api/validate-account`](https://api.tumapay.com/api/validate-account)

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |
| Token        | token              |

**Body**

<table><thead><tr><th width="232">Name</th><th width="109">Type</th><th>Description</th></tr></thead><tbody><tr><td>bank_account_number<mark style="color:red;">*</mark></td><td>string</td><td>The account number to be verified</td></tr><tr><td>bank_code<mark style="color:red;">*</mark></td><td>string</td><td>The code of the bank associated with the account</td></tr><tr><td>currency_code<mark style="color:red;">*</mark></td><td>string</td><td>The currency code of the account</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="Request" %}

```json
curl --location 'https://api.tumapay.com/api/validate-account' \
--header 'token: [Generated after Login]' \
--data '{
    "bank_account_number": "<Bank account number>",
    "bank_code": "<GET from https://api.tumapay.com/api/get-banks?country=NIGERIA>",
    "currency_code": "NGN"
}'
```

{% endtab %}

{% tab title="Successful Response" %}

```json
{
  "status": {
    "type": "number"
  },
  "message": {
    "type": "string"
  },
  "accountName": {
    "type": "string"
  },
  "accountNo": {
    "type": "number"
  }
}
```

{% endtab %}

{% tab title="Unsuccessful Response" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
