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
Query Params
int64

System generated order ID

string
required
Defaults to 999999999800011

Unique order identifier assigned by the client

int64
Defaults to 100000

recv Window

int64
required
Defaults to 1719721633311

Millisecond Timestamp

string
required
Defaults to 2dafc810ea38148418473f7156f8145910afde348498b149f7e081dc0000fa1e

Signature

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json