create_virtual_account
Create a payment route for a customer to collect fiat deposits, convert them to stablecoin, and pay out to a specified wallet; payout address is mandatory.
Instructions
Create a payment route (virtual bank account) so a customer can receive fiat deposits that convert to a stablecoin and pay out to a wallet. The payout destination is mandatory: the API refuses a fiat-to-crypto route without one. Deposit handling is set server-side and defaults to auto_payout; change it afterwards with update_virtual_account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The customer ID to create the payment route for | |
| sourceCurrency | Yes | Fiat currency the route collects in (e.g. 'AUD', 'USD', 'EUR') | |
| destinationAddress | Yes | Wallet address deposits are paid out to. Validated against the chosen network | |
| destinationCurrency | No | Stablecoin to receive | usdt |
| destinationPaymentRail | Yes | Blockchain network the payout address belongs to |