Skip to main content
POST
Update a virtual account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

ID of the user

accountId
string
required

ID of the virtual account

Body

application/json
sourceCurrency
enum<string>
required
Available options:
usd
destinationCurrency
enum<string>
required
Available options:
usdc,
usdt,
usdg,
pyusd
destinationChain
enum<string>

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

Available options:
POLYGON,
ETHEREUM,
SOLANA,
BASE,
TRON
externalWalletId
string

Either externalWalletId or destinationChain must be provided.

Response

Success

message
string
accountInfo
object