WSS
Cancel Order
Send on an established WebSocket connection to cancel a previously placed order.
Submits a cancel request for the given orderId. A successful response confirms the
cancel request was accepted, not that the order is already canceled — confirm final
status on the orders subscription channel or via Get Order.
See the REST Cancel Order endpoint for validation error codes.
Requires access token scope: trade_trade on the token used to open the connection.
Idempotency: canceling an order already in pending_cancel is accepted again.
Connection
WSS
wss://app.bitgo-test.com/api/prime/trading/v1/ws
Channel cancel_order
Authorization The access token used to open the connection must have the
trade_trade scope to send cancel_order messages. If the token is missing or invalid the upgrade is refused with HTTP 403 and no socket is opened; a token without trade_trade gets a WebSocket cancel_order_response with status: rejected and error code common:permissionDenied.