Prepare conditional order cancellation
toss_prepare_conditional_order_cancelPreview the removal of an existing conditional order to stop it from triggering. Get a single-use token to confirm the cancellation.
Instructions
Previews the removal of an EXISTING conditional order so that it can no longer trigger. Legs that already triggered and became live orders are unaffected — cancel those with toss_prepare_order_cancel. Find the conditionalOrderId with toss_get_conditional_orders. Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditionalOrderId | Yes | Identifier of the conditional order to remove, as returned by toss_get_conditional_orders. |