Cancel order
This endpoint allows users to cancel an existing order.
Request Body
Field
Type
Need
Description
Example
"account"
string
required
User's wallet address
42trU9A5...
"signature"
string
required
Cryptographic signature
5j1Vy9Uq...
"timestamp"
integer
required
Current timestamp in milliseconds
1716200000000
"symbol"
string
required
Trading pair symbol
BTC
"order_id"
integer
required (if no CLOID)
Exchange-assigned order ID
123
"client_order_id"
string
required (if no OID)
Client-defined order ID
f47ac10b-58cc-4372-a567-0e02b2c3d479
"agent_wallet"
string
optional
Agent wallet address
69trU9A5...
"expiry_window"
integer
optional
Signature expiry in milliseconds
30000
Response
Status 200: Order cancelled successfully
Status 400: Bad request
Status 500: Internal server error
Code Example (Python)
Last updated