create_virtual_account
Set up a virtual bank account to receive fiat deposits, automatically converting them to stablecoins and sending to a crypto wallet.
Instructions
Create a virtual bank account for a customer to receive fiat deposits. Deposits can automatically convert to crypto and payout to a wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The customer ID to create the virtual account for | |
| sourceCurrency | Yes | Currency for the virtual account (e.g., 'USD', 'EUR', 'GBP') | |
| destinationAddress | No | Crypto wallet address for payouts | |
| depositHandlingMode | No | How to handle deposits: 'auto_payout' converts and sends to wallet, 'hold' keeps as fiat, 'manual' requires approval | |
| destinationCurrency | No | Stablecoin to receive (default: usdc) | |
| destinationPaymentRail | No | Blockchain network for the destination wallet |