Skip to main content

Withdraw

Withdraw. Requires the Withdraw permission. Please refer to the Crypto Networks endpoint for fee calculation.

The parameter amountIncludeFee affects how the fee is handled, with the differences as follows:

  • amountIncludeFee = true
    • amount is the amount to be deducted from user's wallet (i.e., including fee). The amount the user receives will be amount - fee.
  • amountIncludeFee = false
    • amount is the amount the user wants to receive (i.e., excluding fee). The amount deducted from user's wallet will be amount + fee.

Request Parameters​

NameTypeRequiredDescription
cryptoStringYesCrypto to withdraw
networkStringYesCrypto network to withdraw
addressStringYesWithdrawal address
addressExtensionStringNoAddress extension (e.g. XRP tag, EOS memo). Required for networks where needAddressExtension is true in the Crypto Networks response
amountStringYesWithdraw amount
amountIncludeFeeBooleanNoWhether the fee is included in the amount or not. The default value is set to true.
webhookUrlStringNoIf you wish to receive notifications, please fill in the 'webhookUrl' parameter. Also, kindly notify us so that we can add the 'webhookUrl' to the whitelist.

Response Content​

NameTypeDescription
dataObject
example
POSThttps://api.btse.com/public-api/wallet/v1/user/crypto/withdraw

Request (Common)

{
"crypto": "USDT",
"network": "ERC20",
"address": "0xc48fd69d0f4B521B7200345A67641aB4076828f2",
"amount": "36"
}

Request (Has Extension)

{
"crypto": "XRP",
"network": "RIPPLE",
"address": "rHJhVRJGWGDqVX6cX8Ca1nPZMrkARE2VVx",
"addressExtension": "533973779",
"amount": "20"
}

Request (Has Webhook URL)

{
"crypto": "USDT",
"network": "ERC20",
"address": "0xc48fd69d0f4B521B7200345A67641aB4076828f2",
"amount": "36",
"webhookUrl": "{URL for webhook}"
}

Response

{
"success": true,
"code": 1,
"msg": "Success",
"time": 1624989977940,
"data": {
"transactionRef": "2025060500001",
"orderId": "cca02a29-e47c-4ee7-9d42-28b850a843ec",
"crypto": "USDT",
"network": "ERC20",
"address": "0xc48fd69d0f4B521B7200345A67641aB4076828f2",
"addressExtension": null,
"amountToAddress": "30.45",
"fees": "5.55"
}
}