v1

latestOpenAPI 3.0.02026-07-26103425558.9 KB
Virtual Account

Update a virtual account

Update an existing virtual account.

post/v2/users/{userId}/virtual-accounts/{accountId}/update

Path parameters

userIdstring required

ID of the user

accountIdstring required

ID of the virtual account

Request body

sourceCurrency'usd' required
destinationCurrency'usdc' | 'usdt' | 'usdg' | 'pyusd' required
destinationChain'POLYGON' | 'ETHEREUM' | 'SOLANA' | 'BASE' | 'TRON'

Either externalWalletId or destinationChain must be provided. If provided, the token will be delivered to user's HIFI wallet on the destination chain.

externalWalletIdstring

Either externalWalletId or destinationChain must be provided.

Response

Success

messagestring