Wallets

Get deposit address

Return the default deposit address for a supported asset. Vastel creates one if it does not exist yet.

GEThttps://api.vastel.io/api/v1/users/{externalUserId}/wallets/{currency}/address

currency is usdt or usdc. Show the customer deposit_address and network together. A transfer on the wrong network cannot be recovered through this API.

Path

  • externalUserId

    string · required

    Your customer id.

  • currency

    string · required

    usdt, usdc, btc, eth, bnb, trx, sol, ltc, xrp, or doge.

curl -s https://api.vastel.io/api/v1/users/cust_1001/wallets/usdt/address \
  -H "X-Public-Key: vst_pub_xxxxxxxx" \
  -H "X-Secret-Key: vst_sec_xxxxxxxx"