Cancel Order

Cancel order (Authentication type: SIGNED, See Interface Permission)

Request Format

POST https://api-cloud.bitmart.com/contract/v1/ifcontract/cancelOrders

Request Limit

See Detailed Rate Limit

Request Parameter

Field Type Required? Description
contractID long Yes Contract ID
orders array Yes List of order ID

Instruction

Request example

https://api-cloud.bitmart.com/contract/v1/ifcontract/cancelOrders

{
    "orders":[
        {
           "contract_id":1,  
           "orders":[
                10116356,
                10116357
            ]
        }
     ]
}

Response Data

Field Type Description
succeed list List of successfully cancelled orders
failed list List of failed cancelled orders

Example of returned data format

{
  "code": 1000,
  "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
  "message": "OK",
  "data": {
    "succeed": [2707219612],
    "failed": []
  }
}

results matching ""

    No results matching ""