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
Subscription Invoice → Refund
AI-generatedSummary
Refunds a specified amount or the full amount of a subscription invoice in Lemon Squeezy.
Inputs
- Subscription Invoice ID (required) — The ID of the subscription invoice to refund (e.g., "123456").
- Refund Amount — The amount to refund in cents. Specify 0 to refund the full invoice amount. Must not exceed the original invoice amount.
- Simplify — If true, flattens the JSON:API response attributes to the top level for easier use; otherwise returns the raw JSON:API response.
- Retry Options — Settings to configure retry behavior for failed API requests, including maximum retry attempts and initial delay in milliseconds.
Output shape
A single subscription invoice refund record.
The returned data represents the refund details of the subscription invoice. By default, the JSON:API response is simplified by flattening attributes to the top level unless simplification is disabled. Errors include handling for invalid refund amount (exceeding original invoice) and API request failures with retry logic as configured.