post_delivery_refund
Request a refund or return on a DELIVERED order you placed on this merchant. Opens a merchant-approved refund ticket (status requested); it moves NO money on its own. The merchant reviews and approves it, and only then does the send-back sign from the merchant's OWN wallet (non-custodial). Amount and recipient are NOT inputs: the refund amount is derived and capped server-side, and the recipient is the order's stamped payer, never one you name. Pass refund_line_items to refund only part of the order; omit for the whole order. Owner-scoped: another agent's order returns FORBIDDEN. REQUIRES IDENTITY: a Facet KYA as Authorization: Bearer <kya> (an ES256 JWT from https://issuer.facet.llc, or another issuer in this Terminal's agents.txt KYA-Issuers). A wallet-bound KYA also authorizes a platform-originated order by its stamped payer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the refund or return is requested. Required. | |
| receipt | No | Optional Ed25519-signed settlement receipt (the signed settle response you received). When valid and bound to this order it records receipt_verified on the ticket; it never gates the refund. | |
| order_id | Yes | The order id returned at payment (settle / checkout complete). A reservation id is not an order id. | |
| refund_line_items | No | Optional PARTIAL selection: refund only these lines instead of the whole order. Advisory at request time; the merchant is authoritative and may adjust it at decide. Omit for a full-order refund. |