MINARA

Cancel perp orders

POST /v1/trading-gateway/cancel-orders — Batch cancel by `{ symbol, orderId }`. Body: `{ cancels: { symbol: string, orderId: string }[], subAccountId?: string }`

POST /v1/trading-gateway/cancel-orders

Batch cancel by { symbol, orderId }. Body: { cancels: { symbol: string, orderId: string }[], subAccountId?: string }. Returns the list of cancelled order ids plus the upstream raw_data for audit.

MethodPOST
Path/v1/trading-gateway/cancel-orders
AuthAuthorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set
Categoryperps

Request body

{ "cancels": [{ "symbol": "BTC", "orderId": "ord_abc" }], "subAccountId": "sub_hl_default" }

Response body

{ "cancelled_order_ids": ["ord_abc"], "raw_data": { } }

On this page