v1
latestOpenAPI 3.0.32026-07-2650226215.9 KBVirtualAccount
Create a Virtual Account
Create a Virtual Account for a customer. Partner must have virtual_account_provider configured.
post/virtual-accounts
Headers
Idempotency-Keystring required
Required on POST and PUT requests. Use a unique value per logical mutation attempt, for example a UUID.
Request body
Example request
{
"customerId": "cst_vfa0nxw6zvyws9g237jrxn4y7k",
"type": "bankUs",
"accountHolder": "customer",
"source": {
"asset": "usd",
"network": "ach"
},
"destination": {
"type": "walletOms",
"details": {
"id": "wlt_5h4jzzpr9xre3bamd9ca7qyghn",
"asset": "usdc",
"network": "polygon"
}
},
"sponsorGas": true,
"label": "Alice USD deposit account"
}Response
The request has succeeded and a new resource has been created as a result.