Skip to main content

Cancel order

DELETE /api/v1/cex/orders/{orderRef} → 200

Cancel a PENDING order. Cancellation releases the reservation (hold). orderRef matches CXO-YYYYMMDD-NNN.

curl -X DELETE https://api.orbitum.io/api/v1/cex/orders/CXO-20260902-001 \
-H "X-Api-Key: $ORBITUM_API_KEY"

Response 200​

{ "requestId": "req_8f3c1a", "data": { "orderRef": "CXO-20260902-001", "status": "CANCELLED" } }

Errors​

  • CEX_ORDER_NOT_FOUND (404) — unknown ref, or another partner's order (uniform 404, anti-enumeration).
  • CEX_ORDER_NOT_CANCELLABLE (409) — the order is not in a cancellable state (e.g. already settled or cancelled).

See the Error Reference.