Cancel an order before funding
cancel_orderCancel an unfunded order and notify the shopper. Refused once funding starts; use dispute or refund tools instead.
Instructions
Cancel an order that is not funded yet (requested, quoted or accepted) and tell the shopper (best effort). Refused once funding has started — then use open_dispute, accept_refund_offer or refund_after_timelock. Nothing is paid or refunded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | reason sent to the shopper (default "cancelled by user") | |
| order_id | Yes | order id (32 hex characters) from request_quote or list_orders |