> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cngn.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Virtual Account

> Retrieve your dedicated virtual account(s) for Naira deposits

Returns the dedicated virtual bank account(s) assigned to your business. Naira transferred into these accounts is automatically converted and credited as cNGN.

> [!NOTE]
>
> Requires the **Fiat Deposit** permission. See [Permissions](https://docs.cngn.co/guides/permissions.md).

### Response (decrypted `data`)

**data** `object[]`

**Account object**

**accountNumber** `string`

10-digit NUBAN account number.

**accountName** `string`

Account name (your registered business name).

**bankName** `string`

Bank hosting the virtual account.

**bankCode** `string`

CBN bank code.

```bash cURL theme={null}
curl -X GET "https://api.cngn.co/v1/api/virtual-account" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```typescript TypeScript theme={null}
const res = await fetch("https://api.cngn.co/v1/api/virtual-account", {
  headers: { Authorization: `Bearer ${API_KEY}` },
});
```

```python Python theme={null}
res = requests.get(
    "https://api.cngn.co/v1/api/virtual-account",
    headers={"Authorization": f"Bearer {API_KEY}"},
)
```

```json 200 - Success (data shown decrypted) theme={null}
{
  "status": 200,
  "message": "Virtual account created successfully",
  "data": [
    {
      "accountNumber": "9977581222",
      "accountName": "ACME LTD / CNGN",
      "bankName": "Providus Bank",
      "bankCode": "101"
    }
  ]
}
```

```json 403 - Permission denied theme={null}
{
  "status": false,
  "message": "Permission denied"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.