cancel_fund_order
Cancel an in-transit fund order that was never executed and return the amount to ledger cash. Only orders still in transit can be cancelled.
Instructions
Cancel an in-transit off-exchange fund order that was never executed
(the user withdrew it on the fund platform): the amount returns to ledger
cash. Only orders still in transit can be cancelled — a confirmed order
already holds shares (use sell to book a redemption).
Confirm with the user before calling; this moves ledger cash.
Args: order_id: The in-transit order to cancel.
Returns: Cash returned and new balance, or {"status": "error", "error": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | order_id of an in-transit order (status 'placed'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |