Create payment route
create_virtual_accountCreate a payment route and virtual bank account so customers can receive fiat deposits, convert them to stablecoin, and pay out to a required wallet address.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customerId": "<customerId>",
"sourceCurrency": "<sourceCurrency>",
"destinationAddress": "<destinationAddress>",
"destinationPaymentRail": "<destinationPaymentRail>"
},
"name": "create_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 |