v1

latestOpenAPI 3.0.02026-07-26103425558.9 KB
Virtual Account

Create a virtual account

Generate a virtual bank account to onramp from sourceCurrency to destinationCurrency on chain destinationChain. (note: virtual accounts are billable)

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

Path parameters

userIdstring required

ID of the user

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.

transferType'ach' | 'wire'

Response

Success

messagestring