Refund a customer's order
This workflow begins with a customer ID but creates a refund against one selected order. Every amount and affected line must be confirmed.
Help me refund an order for customer <CUSTOMER_ID>. Show their five most
recent orders and let me choose one. Then show the refundable lines, gather an
exact major-unit amount and reason for each selected line, require an overall
reason, and present one final summary before creating the refund. Reconcile
the result and do not call it complete until its status is succeeded.
The agent uses list_orders, then get_refund_options for the selected order. create_refund refreshes the snapshot and requires confirmation before the write. get_refund reconciles the asynchronous result.
Sample response
Refund started for order WEB-1042
The refund was accepted for processing; it has not completed yet.
- Refund
- rf_example_02
- Status
- Pending
- Total
- GHS 75.00
- Overall reason
- Item returned
| Order line | Refund amount | Reason |
|---|---|---|
| Utility tote × 1 | GHS 50.00 | Item returned |
| Event pass × 1 | GHS 25.00 | Item returned |
Next step: check rf_example_02 until it reaches succeeded, failed, or
canceled.
Illustrative values. The exact presentation depends on the MCP client.
A pending or processing response means Inttegro has started the work. It does not mean funds have reached the customer.