-
Notifications
You must be signed in to change notification settings - Fork 5
批量撤销订单 (v2 版本)
CoinTiger-API edited this page Jul 19, 2018
·
4 revisions
请求参数:
参数名称 | 是否必须 | 类型 | 描述 | 默认值 | 取值范围 |
---|---|---|---|---|---|
orderIdList | true | json | 撤销订单ID列表 | 单次不超过50个订单id | |
time | true | string | 当前时间戳 |
请求参数:示例(form-data 方式提交参数)
"api_key" : "c9a97adf-7909-444a-bf9e-1471310c4777"
"orderIdList":{"tchbtc":["5245365","5246402"],"ethbtc":["5245365","5246402"],...}
"time":1525515995127
"sign":"da5b9d029766f0430c111c668d67b23d45c60f55d16cb87498bda6175226cb0c8cadb1dbeb493317bd9740421ca0cbd01df218f6ae5b95decd9a410e9d317bb7"
响应数据:
参数名称 | 是否必须 | 数据类型 | 描述 | 取值范围 |
---|---|---|---|---|
data | false | map | 撤单结果 |
响应例子:
{
"code": "0",
"msg": "suc",
"data": {
"success": [
"1",
"3"
],
"failed": [{
"err-msg": "撤销订单失败",
"order-id": "2",
"err-code": "8"
}]
}
}
English Documents click here