Cancels a specific open order by removing it from the order book. The order must belong to the specified user and match the provided price and side.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jogeshwar01/exchange/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
DELETE /api/v1/order
Request
Body parameters
The unique identifier of the order to cancel
The unique identifier of the user who owns the order
The price of the order to cancel (must match the original order)
The order side (“BUY” or “SELL”) - must match the original order
The trading pair market (e.g., “SOL_USDC”, “BTC_USDT”)
Response
Success response
Status message indicating the order was cancelled
The unique identifier of the cancelled order
Error response
Status message indicating the order cancellation failed
Example
Error codes
- 200 OK - Order cancelled successfully
- 500 Internal Server Error - Failed to cancel the order or Redis connection error