v1

latestOpenAPI 3.0.02026-08-0487298782.1 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' required

usdt is only supported on ethereum

destinationChain'POLYGON' | 'ETHEREUM' | 'SOLANA' | 'BASE'

Either externalWalletId or destinationChain must be provided.

externalWalletIdstring

Either externalWalletId or destinationChain must be provided.

Response

Success

messagestring