ls_refund_order
Issue an irreversible refund for a LemonSqueezy order using its order ID and amount in cents. Specify the exact amount to return to the customer.
Instructions
Issue a refund for an order. This is irreversible — the refund amount is in cents (e.g. 1000 = $10.00).
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": {
"orderId": "<orderId>",
"amount": "<amount>"
},
"name": "ls_refund_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Refund amount in cents (e.g. 1000 = $10.00) | |
| orderId | Yes | The order ID to refund |