v1

latestOpenAPI 3.1.02026-07-24590534.0 KB

Cancel an order

Cancels an order tethered to the authenticated user or a subaccount tethered to the authenticated user

post/users/{user_id}/orders/{order_id}/cancel

Path parameters

user_idstring required

The User ID. Use 'me' for main authenticated user, use the user_id if fetching for Sub-account linked to the authenticated user.

order_idstring required

Order id.

Response

200

statusstring
messagestring

Example response

{
  "status": "success",
  "message": "Successful",
  "data": {
    "id": "d74c937eda014e72b78c181f95a761c5",
    "market": {
      "id": "btcusdt",
      "base_unit": "BTC",
      "quote_unit": "USDT"
    },
    "side": "buy",
    "price": {
      "unit": "BTC",
      "amount": "61000.0000000000000000"
    },
    "volume": {
      "unit": "USDT",
      "amount": "0"
    },
    "status": "cancel",
    "user": {
      "id": "24rhpmow",
      "sn": "Qw1os7uj7",
      "email": "test@gmail.com",
      "first_name": "test",
      "last_name": "tester",
      "display_name": "Adigun Efon Exchange",
      "created_at": "2026-02-09T13:22:14.000Z",
      "updated_at": "2026-02-13T10:45:42.000Z"
    },
    "order_type": "limit",
    "avg_price": {
      "unit": "BTC",
      "amount": "0.0000000000000000"
    },
    "origin_volume": {
      "unit": "USDT",
      "amount": "0.0000500000000000"
    },
    "executed_volume": {
      "unit": "USDT",
      "amount": "0.0000000000000000"
    },
    "trades_count": "0",
    "created_at": "2026-02-23T10:47:10.148Z",
    "updated_at": "2026-02-23T10:53:41.000Z"
  }
}