Create a Virtual Account
Create a Virtual Account for a customer. Partner must have virtual_account_provider configured.
Headers
Body
Create a Virtual Account: the inbound bank rail plus the destination that receives the converted funds.
Where to deliver the deposited value — a crypto wallet (auto-convert), a bank account (forward onward), or a walletFiat fiat wallet (hold as a USD balance). An external crypto wallet must be a registered External Account; raw addresses are not accepted here. walletCrypto is available only where the institution issuing the Virtual Account custodies wallets itself, and is otherwise rejected with 422 DestinationWalletCryptoNotSupported. asset and network are validated against the resolved External Account or wallet.
- US bank account
- IBAN bank account
- Canadian bank account
- OMS wallet
- External wallet (registered)
- Fiat wallet
Optional fiat return destination: where inbound fiat is sent if the outbound leg can't be completed. Bank arms only in v1 — bankUs / bankIban / bankCanada (network swift, USD); walletFiat and bankCanada with network local (CAD) are rejected with 422 RailNotSupported.
- US bank account
- IBAN bank account
- Canadian bank account
- Fiat wallet
Response
The request has succeeded and a new resource has been created as a result.
A dedicated bank account number issued for a customer. Inbound fiat deposits are automatically converted and delivered to the configured destination, creating a transaction per deposit.
Bank coordinates senders use to deposit into this Virtual Account. Left out until the provider has opened the account, so a pending Virtual Account carries none. Still present while it is deleting, and left out again once the account has ended, since a closed, failed or deleted Virtual Account can no longer receive a deposit. Capture it while the account is live if you need it for your own records.
The institution that issues and custodies this Virtual Account — currently "Erebor Bank, N.A." or "Cross River Bank". Assigned by OMS from your project's configuration, never supplied by you. Read it when you need to tell an end user or a support ticket which institution is holding the deposited funds. It is not the name a payout is sent under, which is the payout transfer's originatorName and can name a different company. New providers may be added, so treat the string as free-form rather than a fixed set. Read-only; omitted when OMS cannot determine the institution.