The endpoint has the similar logic as /main-account/withdraw, but with the only difference: amount that is specified will not include fee (it will be calculated to make target withdraw amount equal to the specified amount).
Example:
The API does not cache the response.
API key authentication using signed requests
Currencies ticker. Example: BTC ⚠️ Currencies ticker must have "can_deposit" status equal to "true". Use Asset Status endpoint to know more about currency.
Target address (wallet address for cryptocurrencies, identifier/card token for fiat currencies)
Unique transaction identifier. ⚠️ Generate a new unique ID for each withdrawal request.
Request signature
Unique request identifier
Fiat currency provider. Example: VISAMASTER ⚠️ Currency provider should be taken from Asset Status endpoint response. Required if currency is fiat.
Cryptocurrency network. Available for multinetwork currencies. Example: OMNI ⚠️ Currency network should be taken from Asset Status endpoint response. Default for USDT is ERC20
Validation succeeded and withdraw creation process is started. Check the request status by uniqueId in deposit/withdraw history.