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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"order_id": "<order_id>"
},
"name": "wafle_orders_refund"
}
}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 |