DESCRIPTIONCancels a specific trade order, allowing users to withdraw an order that is pending or partially fulfilled. This endpoint requires the unique identifier of the trade order to be canceled, ensuring precise and secure order management.
Request
Query Params
symbol
string
required
Trading symbol, e.g. BTC_THB, BTC_USDT
Example:
BTC_THB
orderId
string
optional
Order id
Example:
31688
origClientOrderId
string
optional
[Redundant]
newClientOrderId
string
optional
[Redundant]
cancelRestrictions
string
optional
[Redundant]
recvWindow
string
optional
[Redundant]
timestamp
string
required
UTC timestamp in ms
Example:
1718855898528
signature
string
required
Signature
Example:
{{signature}}
Header Params
Content-Type
string
required
Example:
application/json
X-MBX-APIKEY
string
required
Example:
{{maxbit-api-key}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request PUT 'https://endpoint-gateway.maxbit.com/api/v3/order?symbol=BTC_THB&orderId=31688&origClientOrderId=&newClientOrderId=&cancelRestrictions=&recvWindow=×tamp=1718855898528&signature={{signature}}' \
--header'X-MBX-APIKEY: {{maxbit-api-key}}' \
--header'Content-Type: application/json'