Apply for withdrawal
POST https://openapi.xxx.xx/sapi/v1/withdraw/apply
Headers
Name | Type | Description |
X-CH-APIKEY* | string | Your API-key |
X-CH-SIGN | string | Sign |
X-CH-TS | integer | timestamp |
Request Body
Name | Type | Description |
withdrawOrderId | string | Custom withdrawal id, guaranteed to be unique |
amount* | string | quantity |
address* | string | Withdrawal address |
label | string |
Some currencies such as XRP, XMR allow filling of secondary address labels |
symbol | string | Currency name, for coins that support multiple mainchains, the actual currency name needs to be transmitted, as show in Appendix 1 |
200:OK
{
"code":"Ѳ",//Return code, 0 for success, other failures
"msg":"sucess",//returned messages
"data":{
"id":518353 //Platform withdrawal id
}
}
weight(IP/UID): 100
Withdrawal record query
POST https://openapi.xxx.xx/sapi/v1/withdraw/query
Headers
Name | Type | Description |
X-CH-APIKEY* | string | Your API-key |
X-CH-SIGN* | string | Sign |
X-CH-TS* | string | time stamp |
Request Body
Name | Type | Description |
symbol | string |
Currency Name, For coins that support multiple mainchains, the actual currency name needs to be transmitted, as show in Appendix1 |
withdrawId | string | Platform withdrawal id |
withdrawOrderId | string | Custom withdrawal id |
startTime | string | Start time, timestamp, defaul 90 days ago |
endTime | String | end time, timestamp, default current time |
page | string | page number, starting at 1 |
200:OK
{
"code": "0",
"msg": "成功",
"data": {
"withdrawList": [
{
"symbol": "TUSDT",
"amount": 19.99999,
"address": "TFFrjNfBAagmFWypE3Hnv6zPKAFhd3VcDf",
"withdrawOrderId": "abc123",
"fee": 0.00001,
"ctime": 1605585397000,
"txId": "749864_20201117115930",
"id": 749864,
"applyTime": 1666754820000,
"status": 5,
"info": ""
},
{
"symbol": "TUSDT",
"amount": 10.50999,
"address": "TYsTiVVDU5VmnUPufzGD52CD1hSbPATT3Q",
"withdrawOrderId": "abc456",
"fee": 0.00001,
"ctime": 1607089149000,
"txId": "764294_20201204094130",
"id": 764294,
"applyTime": 1666754820000",
"status": 5,
"info": ""
}
],
"count": 2
}
}
weight(IP/UID): 100
Responses
Parameter | Type | Example | Remark |
symbol | string | USDT | Withdrawal currency |
amount | number | 9.99 | quantity |
address | string |
TFFrjNfBAagmFWypE3Hnv6zPKAFhd3VcDf |
Withdrawal address |
withdrawOrderId | string |
abc123 |
Custom withdrawal id |
fee | number |
0.01 |
fee |
ctime | number |
1605585397000 |
creation time |
txId | string |
749864_20201117115930 |
Withdrawal transaction id |
id | number |
749864 |
platform withdrawal id |
applyTime | number |
1605585397000 |
On-Chain time |
status | number |
2 |
Withdrawal status0- unapproved, 1-approved 2-approved rejected, 3-payment, 4-payment failed, 5-completed, 6-revoked |
info | string |
withdrawal address error |
review rejection reasons |