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
accountIdINTEGER1471090223379184384Account Number
symbolSTRINGBTCUSDTTrading pair
clientOrderIdSTRING999999999800023An ID defined by the client for the order, it will be automatically generated if it is not sent in the request
orderIdINTEGER1483370868616793088System generated order ID
transactTimeINTEGER1691567587389Millisecond timestamp
priceSTRING28000Price
origQtySTRING0.01Quantity
executedQtySTRING0Traded Volume
statusSTRINGNEWOrder status
timeInForceSTRINGGTCDuration of the order before expiring
typeSTRINGLIMITOrder type
sideSTRINGBUYBUY or SELL
Language
Credentials
Header
Click Try It! to start a request and see the response here!