> For the complete documentation index, see [llms.txt](https://docs.alignlabs.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alignlabs.dev/align-api/virtual-accounts/create-virtual-account.md).

# Create Virtual Account

POST /v0/customers/{customer\_id}/virtual-account creates a named virtual account and returns its deposit details.

Create Virtual Account

## Create new Virtual Account

> Creates Virtual Account and returns deposit information

```json
{"openapi":"3.0.0","info":{"title":"Virtual Accounts API","version":"0"},"servers":[{"url":"https://api.alignlabs.dev","description":"Production server"},{"url":"https://api-sandbox.alignlabs.dev","description":"Sandbox server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Api-Key"}},"schemas":{"CreateVABodyModel":{"type":"object","properties":{"source_currency":{"type":"string","description":"The currency for the source. GBP is available for business customers only.","enum":["usd","eur","aed","gbp"]},"source_rails":{"type":"string","description":"Required only for USD in case you want to accept SWIFT payments (swift). Optional for GBP, which only supports UK Faster Payments (ukfps).","enum":["swift","ukfps"]},"destination_token":{"type":"string","description":"The currency to be deposited","enum":["usdc","usdt","eurc"]},"destination_network":{"type":"string","description":"The blockchain network for the destination. For USD over ACH/wire (no source_rails), Aptos supports only usdc.","enum":["polygon","ethereum","solana","base","tron","arbitrum","aptos"]},"destination_address":{"type":"string","description":"The blockchain address where the funds will be sent. Aptos addresses must be the full 0x + 64 hex characters."},"developer_fee_percent":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Custom developer fee percentage for the Virtual Account"}},"required":["source_currency","dstination_token","destination_network","destination_currency","destination_bank_account","destination_payment_rails"]},"CreateVAResponseSuccessModel":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier for the virtual account"},"status":{"type":"string","description":"The current status of the virtual account","enum":["active"]},"destination_token":{"type":"string","description":"The currency to be deposited","enum":["usdc","usdt","aed"]},"destination_network":{"type":"string","description":"The blockchain network for the destination","enum":["polygon","ethereum","solana","base","tron","arbitrum","aptos"]},"destination_address":{"type":"string","description":"The blockchain address where the funds will be sent"},"developer_fee_percent":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Custom developer fee percentage for the Virtual Account"},"deposit_instructions":{"type":"object","oneOf":[{"title":"IBAN Account Details","properties":{"payment_rails":{"type":"array","description":"The available rails for deposits","items":{"type":"string","enum":["sepa"]}},"currency":{"type":"string","description":"The currency used for the deposit","enum":["eur"]},"bank_name":{"type":"string"},"bank_address":{"type":"string"},"account_holder_name":{"type":"string"},"iban":{"type":"object","properties":{"bic":{"type":"string"},"iban_number":{"type":"string"}}}}},{"title":"US Account Details","properties":{"payment_rails":{"type":"array","description":"The available rails for deposits","items":{"type":"string","enum":["ach","wire","fednow"]}},"currency":{"type":"string","description":"The currency used for the deposit","enum":["usd"]},"bank_name":{"type":"string"},"bank_address":{"type":"string"},"account_beneficiary_name":{"type":"string"},"account_beneficiary_address":{"type":"string"},"us":{"type":"object","properties":{"account_number":{"type":"string"},"routing_number":{"type":"string"}}}}},{"title":"International Wire Account Details","properties":{"payment_rails":{"type":"array","description":"The available rails for deposits","items":{"type":"string","enum":["swift"]}},"currency":{"type":"string","description":"The currency used for the deposit","enum":["usd"]},"bank_name":{"type":"string"},"bank_address":{"type":"string"},"account_beneficiary_name":{"type":"string"},"account_beneficiary_address":{"type":"string"},"international_wire":{"type":"object","properties":{"account_number":{"type":"string"},"routing_number":{"type":"string"},"bic":{"type":"string"}}}}},{"title":"UK Account Details","description":"GBP virtual accounts can be funded by UK Faster Payments using either the sort code and account number or the IBAN.","properties":{"payment_rails":{"type":"array","description":"The available rails for deposits","items":{"type":"string","enum":["ukfps"]}},"currency":{"type":"string","description":"The currency used for the deposit","enum":["gbp"]},"bank_name":{"type":"string"},"bank_address":{"type":"string"},"account_holder_name":{"type":"string"},"account_beneficiary_name":{"type":"string"},"uk":{"type":"object","properties":{"account_number":{"type":"string"},"sort_code":{"type":"string"}}},"iban":{"type":"object","properties":{"bic":{"type":"string"},"iban_number":{"type":"string"}}}}}]}}}}},"paths":{"/v0/customers/{customer_id}/virtual-account":{"post":{"summary":"Create new Virtual Account","description":"Creates Virtual Account and returns deposit information","parameters":[{"name":"customer_id","in":"path","description":"The unique identifier of the customer","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVABodyModel"}}}},"responses":{"201":{"description":"Successful offramp transfer initiation response (synchronous)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVAResponseSuccessModel"}}}},"202":{"description":"Virtual account creation accepted (asynchronous). This response is returned for AED, GBP and USD SWIFT virtual accounts. The virtual account will be created asynchronously and you can fetch the details later via the GET /v0/customers/{customer_id}/virtual-account endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the virtual account"},"status":{"type":"string","enum":["pending"],"description":"The current status of the virtual account"}},"required":["id","status"]}}}},"409":{"description":"Conflict — a virtual account with identical parameters (source_currency, source_rails, destination_token, destination_network, destination_address) already exists for this customer","content":{"application/json":{"schema":{"type":"string"}}}}}}}}}
```
