Accept the shopper's refund
accept_refund_offerCo-sign and broadcast a shopper's cooperative refund offer to return order funds to your wallet. Preview first; pass confirm to sign, send, and broadcast.
Instructions
Moves money: co-sign and broadcast a cooperative refund the shopper offered (e.g. the item was sold out or delivery failed), returning the funds to your wallet. Refused if the offer does not pay you as the refund template requires. Without confirm: true it shows the offer and its check. Errors if there is no offer (get_order shows refund_offer).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true to really do it (sign / send / broadcast); omitted or false = preview only, nothing happens | |
| order_id | Yes | order id (32 hex characters) from request_quote or list_orders |