跳到主要内容

提现

提现。需要 Withdraw 权限。手续费计算请参阅加密货币网络接口。

参数 amountIncludeFee 影响手续费的处理方式,区别如下:

  • amountIncludeFee = true
    • amount 为从用户钱包扣除的金额(即包含手续费)。用户实际收到的金额为 amount - fee
  • amountIncludeFee = false
    • amount 为用户希望收到的金额(即不包含手续费)。从用户钱包扣除的金额为 amount + fee

请求参数

名称类型是否必填描述
cryptoString要提现的加密货币
networkString提现的加密货币网络
addressString提现地址
addressExtensionString地址扩展(例如 XRP 的 tag、EOS 的 memo)。当 Crypto Networks 返回的 needAddressExtensiontrue 时为必填项
amountString提现金额
amountIncludeFeeBoolean手续费是否包含在金额中。默认值为 true
webhookUrlString如需接收通知,请填写 'webhookUrl' 参数。同时请通知我们以便将 'webhookUrl' 加入白名单。

响应内容

名称类型描述
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"
}
}