Actions84
- Affiliate Actions
- Checkout Actions
- Customer Actions
- Discount Actions
- Discount Redemption Actions
- File Actions
- License Key Actions
- License Key Instance Actions
- Order Actions
- Order Item Actions
- Price Actions
- Product Actions
- Store Actions
- Subscription Actions
- Subscription Invoice Actions
- Subscription Item Actions
- Usage Record Actions
- User Actions
- Variant Actions
- Webhook Actions
Order → Refund
AI-generatedSummary
Refunds an order in Lemon Squeezy, either in full or for a specified amount in cents.
Inputs
- Order ID (required) — ID of the order to refund.
- Refund Amount — Amount to refund in cents. Leave at 0 for a full refund; a partial refund must not exceed the original order amount.
- Simplify — Defaults to enabled; flattens JSON:API attributes into the returned item. Disable to retain the raw JSON:API format.
- Retry Options — Configure retry behavior for failed API requests. Includes maximum retries (0–10, default 3) and initial delay in milliseconds (100–30000, default 1000; doubles on each retry).
Output shape
A single refunded order record.
The response is simplified by default; disable Simplify for the raw JSON:API format. The source excerpt does not show the refund request or its precise response handling.