API Reference

Cancel Order

Cancel an existing order. Either orderId or clientOrderId must be sent.

Weight: 1

Request Parameters


PARAMETERTYPEReq'dDESCRIPTION
orderIdLONGCOrder ID.
clientOrderIdSTRINGCAn ID defined by the client for the order
timestampLONGYTimestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
accountIdLONG1471090223379184384Account Number
symbolSTRINGBTCUSDTrading pair
clientOrderIdSTRING999999999800023An ID defined by the client for the order, it will be automatically generated if it is not sent in the request
orderIdLONG1483370868616793088System generated order ID
transactTimeSTRING1691567587389Millisecond timestamp
priceDECIMAL28000Price
origQtyDECIMAL0.01Quantity
executedQtyDECIMAL0Traded Volume
statusENUMCANCELEDOrder status
timeInForceENUMGTCDuration of the order before expiring
typeENUMLIMITOrder type
sideENUMBUYBUY or SELL
Language
Credentials
Header
Click Try It! to start a request and see the response here!