wafle_checkout_order_refund
Refund a paid order in full or partially. For refunds exceeding 50% of the total, confirmation is required.
Instructions
Refund a paid order — full when amount_cents is omitted/0, partial otherwise. Guardrail: any refund > 50% of total_cents requires confirm:true. The refund is recorded on the wafle_orders row; the gateway-side refund call is gateway-specific and currently records manual_refund:true in metadata (gateway API integration ships in v2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| reason | No | ||
| confirm | No | ||
| order_id | Yes | ||
| amount_cents | No |