cURL
curl --request DELETE \ --url https://api.n2.market/api/v1/trading/orders/{orderId} \ --header 'X-API-Key: <api-key>'
{ "orderId": "d4d6b1c3-8848-4463-9822-e90a168bcd83", "status": "CANCELLED", "cancelledAt": "2026-03-30T15:00:00.000Z", "remainingQuantity": "50.00" }
Cancels an open order and releases any blocked funds. Only orders with status OPEN or PARTIALLY_FILLED can be cancelled.
OPEN
PARTIALLY_FILLED
Required scopes: cancel:order or trade
cancel:order
trade
API Key for authentication. Get your key from the dashboard.
Order UUID to cancel
Order cancelled successfully
CANCELLED
Quantity that was on the book when cancelled