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

# Create virtual accounts

> Open passthrough virtual accounts on your FBO wallet for an approved customer and get their deposit instructions.

Once a customer is approved, you can open virtual accounts for them on your FBO wallet, up to the limit agreed with Anchorage Digital. You need the customer's `customerId` from [Create customers](https://docs.anchorage.com/knowledge-base/platform/developers/named-virtual-accounts/named-virtual-accounts-create-customers.md), and an API key with the **Virtual accounts** permission.

The examples use the sandbox base URL. For production, see [Base URLs](https://docs.anchorage.com/knowledge-base/api-reference/introduction.md#base-urls).

## Create a virtual account

**`POST /v2/wallets/{walletId}/virtual-accounts`**

Creates a passthrough virtual account on your FBO wallet for an approved customer. Pass the FBO wallet's ID as `walletId`, the customer's `customerId`, and an `idempotentId` you generate for the request. Repeat this call with a new `idempotentId` to give the same customer another virtual account. Once the customer reaches their limit, the call returns `403`. See [Create a virtual account for a wallet](https://docs.anchorage.com/knowledge-base/api-reference/v2-platforms/virtual-accounts/create-a-virtual-account-for-a-wallet.md) for the full reference.

This call must be signed with the `Api-Signature` and `Api-Timestamp` headers. See [Request signing](https://docs.anchorage.com/knowledge-base/platform/developers/request-signing.md).

```bash Request theme={null}
curl --request POST \
     --url 'https://api.anchorage-staging.com/v2/wallets/[FBO Wallet ID]/virtual-accounts' \
     --header 'Api-Access-Key: [API Key]' \
     --header 'Api-Signature: [Signature]' \
     --header 'Api-Timestamp: [Timestamp]' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{
       "customerId": "[Customer ID]",
       "idempotentId": "e763a50d-aa82-4ec7-b5a3-89ad0462d248"
     }'
```

```json Response theme={null}
{
  "id": "[Virtual Account ID]"
}
```

A virtual account doesn't hold a balance. Funds sit in your FBO wallet, so track each customer's balance on your own ledger.

To get the bank deposit instructions for the new virtual account, see [Deposit](https://docs.anchorage.com/knowledge-base/platform/developers/named-virtual-accounts/named-virtual-accounts-deposit.md).


## Related topics

- [Create customers](https://docs.anchorage.com/knowledge-base/platform/developers/named-virtual-accounts/named-virtual-accounts-create-customers.md)
- [Overview](https://docs.anchorage.com/knowledge-base/platform/developers/named-virtual-accounts/named-virtual-accounts-overview.md)
- [Deposit](https://docs.anchorage.com/knowledge-base/platform/developers/named-virtual-accounts/named-virtual-accounts-deposit.md)
- [Create a virtual account for a wallet](https://docs.anchorage.com/knowledge-base/api-reference/v2-platforms/virtual-accounts/create-a-virtual-account-for-a-wallet.md)
- [Create accounts](https://docs.anchorage.com/knowledge-base/api-reference/v4/accounts/create-accounts.md)
