Prepare conditional order cancellation
toss_prepare_conditional_order_cancelPreview cancellation of an existing conditional order and get a single-use confirmation token. Show preview for approval, then submit token to cancel; triggered legs remain unaffected.
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. |