跳到主要内容

取消订单

响应示例

{
"success":true,
"code":0,
"data":[
{
"orderId":101716841474621953,
"errorCode":2040,
"errorMsg":"order not exist"
},
{
"orderId":108885377779302912,
"errorCode":2041,
"errorMsg":"order state cannot be cancelled"
},
{
"orderId":108886241042563584,
"errorCode":0,
"errorMsg":"success"
}
]
}

撤销之前下的未完成订单,每次最多可撤50个单。

  • POST /api/v1/private/order/cancel

需要权限: 交易下单

请求参数:

参数名类型是否必填说明
List<Long>true订单id列表,最大50条

响应参数:

公共参数,success: true成功,false失败