wafle_orders_refund
Refund a paid order fully or partially through the original payment gateway. Confirm the amount before processing, as the action is irreversible.
Instructions
Refund a paid order, fully or partially. The refund is sent through whichever gateway captured the payment (MercadoPago / Stripe / manual transfer).
Destructive AND irreversible. Confirm amount before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| amount | No | Omit for full refund; set for partial. | |
| reason | No | ||
| order_id | Yes |