跳到主要内容

提现

POST

/az/spot/withdraw

注意:参数以json形式放在body中

注意:目前仅支持链上提现,内部转账(toAccountId)暂不支持;未携带链上 address 的请求会被拒绝并返回 "Internal transfer is not supported."

限流规则​

1/s/apikey

请求参数​

参数类型是否必须默认值描述取值范围
fromAccountstringfalseSPOT提现账户类型,现货或者是合约SPOT; FUTURES_U
currencystringtrue币种名称,可从'获取AZ可充提的币种'接口中获取
chainstringtrue转账网络名称,可从'获取AZ可充提的币种'接口中获取。链上提现必填。
clientOrderIdstringfalse自定义客户端ID,正则:^[a-zA-Z0-9_]{4,32}$
amountnumbertrue提现金额,包含手续费部分
addressstringtrue提现地址。必填——目前仅支持链上提现,内部转账暂不支持。
memostringfalsememo,对于EOS类似的需要memo的链必传
toAccountIdnumberfalse收款用户ID。暂不支持——内部转账当前已禁用,该参数会被忽略,仅支持链上提现。

Request

{
"currency":"zb",
"chain":"Ethereum",
"amount":1000,
"address":"0xfa3abfa50eb2006f5be7831658b17aca240d8526",
"memo":""
}

Response

{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": {
"id": 100 //Long 提现记录id,用于后期查询提现历史记录
}
}