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

Update the virtual account's destination routing, its automatic USDT onramp conversion-fee threshold, or both. maxBps may be sent by itself.

maxBps
required

Maximum USDT conversion fee, supplied as an integer or decimal-integer string representing 0 through 10,000 basis points, allowed for automatic onramps through this virtual account. Omit to preserve the current value; use null to disable the threshold.

Required range: 0 <= x <= 10000
sourceCurrency
enum<string>
Available options:
usd
destinationCurrency
enum<string>
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
virtualAccountInfo
object