Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Order → Refund

AI-generated

Summary

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.

Links

Discussion