Whitelist the recipient - add the wallet address with Add Whitelisted Wallet, together with the recipient details required by the Travel Rule. Store the returned id.
2.
Create the withdrawal - call Create Crypto Withdrawal with the walletId and the amount.
3.
Track the status - receive webhooks or check the status with Get Crypto Withdrawal Details.
The whitelist is shared with the web interface. Withdrawals created in either place can only be sent to addresses from this list.
Withdrawals can only be sent to whitelisted addresses. Recipient details are provided once, when the address is added.
For networks that use a memo (XRP destination tag, TON memo), the memo is part of the whitelisted address.
amount in the request includes the fee - the recipient receives amount - fee. Minimum amounts and fees are returned by Get Balances.
The full amount is debited from the balance when the withdrawal is created.
Removing an address from the whitelist blocks new withdrawals to it. Withdrawals already created are not affected.
Do not retry automatically
If a withdrawal request times out, the withdrawal may have been created. Check Get Balance History or wait for the webhook before retrying, to avoid a duplicate withdrawal.