Create payment route (deprecated name)
create_virtual_accountIssue a virtual bank account or stablecoin deposit address for a customer, so fiat deposits convert to stablecoin payouts and crypto deposits settle to a bank account.
Instructions
Deprecated: renamed to create_payment_route; this name will be removed, call create_payment_route instead. Create a payment route for a customer. fiat_to_crypto (the default) issues a virtual bank account: fiat deposits convert to a stablecoin and pay out to a wallet, so destinationAddress and destinationPaymentRail are required. Set sourcePaymentRail to 'swift' for a SWIFT collection account: an IBAN that receives international SWIFT transfers, for business customers whose verification is approved and who hold the base_pay_in entitlement; it is not in the customer's name, and settles in USDT on Tron. crypto_to_fiat (an off-ramp route) issues a permanent USDT or USDC deposit address on sourceNetwork: every deposit converts and pays out to one bank account, given as a saved beneficiary (payoutType beneficiary + beneficiaryId) or as bank details. On a crypto_to_fiat route, swiftCode or bicCode is needed only when payoutNetwork is swift. Its deposits are route transactions, read with get_payment_route_history, never transfers. crypto_to_crypto (a swap route) issues a permanent USDT or USDC deposit address on sourceNetwork: every deposit is swapped and delivered to destinationAddress as destinationCurrency on destinationPaymentRail, which must differ from the source in stablecoin, network or both. Its deposits are route transactions too. Deposit handling is set server-side and defaults to auto_payout; change it afterwards with update_payment_route.
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>"
},
"name": "create_virtual_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | IBAN (EU/international) | |
| cnaps | No | CNAPS (China) | |
| payId | No | PayID alias (AUD only). Requires payIdType | |
| phone | No | Beneficiary phone number in E.164 format (e.g. '+5215512345678') | |
| bicCode | No | BIC (EUR/GBP international) | |
| bsbCode | No | BSB code (Australia) | |
| bankCode | No | Bank code / institution number (CAD) | |
| bankName | No | Name of the destination bank. Required unless paying a mobile money wallet | |
| ifscCode | No | IFSC code (India) | |
| metadata | No | Optional key-value data returned on the route | |
| sortCode | No | Sort code (UK) | |
| payIdType | No | PayID alias type. Required when payId is given | |
| swiftCode | No | SWIFT code | |
| branchCode | No | Branch code / transit number (CAD) | |
| branchName | No | Bank branch name | |
| customerId | Yes | The customer ID to create the payment route for | |
| payoutType | No | crypto_to_fiat only: pay out to bank details given here, or to a saved beneficiary | bank |
| accountType | No | Account type. Required for CAD and USD bank payouts | |
| addressCity | No | Beneficiary city | |
| bankCountry | No | Bank country, ISO 2-letter (e.g. 'AU', 'US'). For mobile money, the country of the wallet | |
| dateOfBirth | No | Beneficiary date of birth, YYYY-MM-DD. Required when recipientType is individual for AED, CAD, EUR, GBP, MXN, USD | |
| paymentRail | No | USD payouts only: prefer ACH or wire. Omit for the account's default. A rail that is not available is refused | |
| purposeCode | No | crypto_to_fiat only: the purpose every payout carries. Required where an off-ramp transfer to the same destination requires one | |
| addressState | No | Beneficiary state or region | |
| bankCurrency | No | Payout currency, ISO 3-letter (e.g. 'EUR') | |
| workflowType | No | fiat_to_crypto: a virtual bank account paying out to a wallet. crypto_to_fiat: a permanent stablecoin address paying out to a bank account. crypto_to_crypto: a permanent stablecoin address whose deposits are swapped to another stablecoin and/or network and sent to a wallet | fiat_to_crypto |
| accountNumber | No | Bank account number, if not using IBAN | |
| addressStreet | No | Beneficiary street address. Needed, with addressCountry, whenever an address is sent | |
| beneficiaryId | No | crypto_to_fiat with payoutType beneficiary: a saved beneficiary id. Its bank details are copied onto the route; archived beneficiaries are refused | |
| payoutNetwork | No | crypto_to_fiat only: how each deposit is paid out. Defaults to the saved beneficiary's payment method, else bank (domestic). swift requires swiftCode or bicCode | |
| recipientType | No | Beneficiary type. Required for AED, CAD, EUR, GBP, MXN, USD | |
| routingNumber | No | ABA routing number (US) | |
| sourceNetwork | No | crypto_to_fiat and crypto_to_crypto, required: the network the deposit address is issued on | |
| walletAccount | No | Mobile money only: the wallet's identifier, such as its mobile number (e.g. '+233241234567'). Required with walletProvider | |
| addressCountry | No | Beneficiary country, ISO 2-letter. The complete address is required for AED, CAD, EUR, GBP, MXN, USD | |
| sourceCurrency | Yes | What the customer deposits: a fiat currency for fiat_to_crypto (e.g. 'AUD', 'USD'), or 'USDT' / 'USDC' for crypto_to_fiat and crypto_to_crypto | |
| walletProvider | No | Mobile money only: the wallet provider code, as listed for the corridor (e.g. 'mtn_gh'). Requires walletAccount, and every bank field (bankName, accountNumber, iban, bank codes) must be left out | |
| bankAddressCity | No | City of the beneficiary's bank | |
| bankAddressState | No | State or region of the beneficiary's bank | |
| accountHolderName | No | Account holder's full name, or the company name when recipientType is business | |
| addressPostalCode | No | Beneficiary postal code | |
| bankAddressStreet | No | Street address of the beneficiary's bank. A bank address is required for a USD SWIFT payout to an account the paying customer does not hold; street and country at minimum | |
| sourcePaymentRail | No | fiat_to_crypto only. Omit for the currency's local rail. 'swift' opens a SWIFT collection account (business customers with approved verification and base_pay_in). SWIFT currencies: AED, AUD, CAD, CHF, CZK, DKK, EUR, GBP, GEL, HKD, HUF, JPY, NZD, PLN, SEK, SGD, THB, USD; payout USDT on tron | |
| walletAccountType | No | Mobile money only: the kind of identifier in walletAccount. Only needed where the wallet provider accepts more than one | |
| bankAddressCountry | No | Country of the beneficiary's bank, ISO 2-letter | |
| destinationAddress | No | fiat_to_crypto and crypto_to_crypto, required: wallet address deposits are paid out to. Validated against the chosen network | |
| destinationCurrency | No | fiat_to_crypto and crypto_to_crypto: stablecoin to receive | usdt |
| nameInLocalLanguage | No | Account holder name in the local language (e.g. Chinese characters for CNY) | |
| bankAddressPostalCode | No | Postal code of the beneficiary's bank | |
| destinationPaymentRail | No | fiat_to_crypto and crypto_to_crypto, required: blockchain network the payout address belongs to | |
| nationalIdentificationNumber | No | National identification number of the account holder |