What it is for
Lemon Squeezy is a payment gateway for e-commerce and subscription-based businesses.
Lemon Squeezy triggers react instantly to events in the app.
Set up the connection
Authentication type: API key or token
- 1Sign in to Lemon Squeezy and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Lemon Squeezy step, click "Connect" and paste it.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- List Products: no required fields; use the data selector to map values from earlier steps.
- List Orders: no required fields; use the data selector to map values from earlier steps.
- Get Order: fill in Order; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Triggers (16)
Events that can start a flow. Expand each one to see its fields.
Order CreatedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Order RefundedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription CreatedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription UpdatedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription CancelledWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription ResumedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription ExpiredWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription PausedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription UnpausedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription Payment SuccessWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription Payment FailedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription Payment RecoveredWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Subscription Payment RefundedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
License Key CreatedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
License Key UpdatedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Affiliate ActivatedWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
Actions (35)
Operations available as flow steps. Expand each one to see its fields.
List Products3 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | No |
| Page | Number | No |
| Per Page | Number | No |
List Orders5 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | No |
| Customer Email | Text | No |
| Order Status | Fixed list | No |
| Page | Number | No |
| Per Page | Number | No |
Get Order1 fields
| Field | Type | Required |
|---|---|---|
| Order | List (from your account) | Yes |
List Subscriptions9 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | No |
| Order | List (from your account) | No |
| Order Item ID | Text | No |
| Product | List (from your account) | No |
| Variant | List (from your account) | No |
| Customer Email | Text | No |
| Subscription Status | Fixed list | No |
| Page | Number | No |
| Per Page | Number | No |
Create Checkout10 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
| Product | List (from your account) | No |
| Variant | List (from your account) | Yes |
| Customer Email | Text | No |
| Customer Name | Text | No |
| Custom Price (cents) | Number | No |
| Discount Code | Text | No |
| Redirect URL | Text | No |
| Expires At | Text | No |
| Custom Data | JSON | No |
List Customers4 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | No |
| Text | No | |
| Page | Number | No |
| Per Page | Number | No |
List Stores2 fields
| Field | Type | Required |
|---|---|---|
| Page | Number | No |
| Per Page | Number | No |
Get Customer1 fields
| Field | Type | Required |
|---|---|---|
| Customer ID | Text | Yes |
Find Customer by Email2 fields
| Field | Type | Required |
|---|---|---|
| Text | Yes | |
| Store | List (from your account) | No |
Create Customer6 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
| Name | Text | Yes |
| Text | Yes | |
| City | Text | No |
| Region | Text | No |
| Country | Text | No |
Update Customer7 fields
| Field | Type | Required |
|---|---|---|
| Customer ID | Text | Yes |
| Name | Text | No |
| Text | No | |
| City | Text | No |
| Region | Text | No |
| Country | Text | No |
| Archive Customer | Yes / No | No |
List Order Items5 fields
| Field | Type | Required |
|---|---|---|
| Order ID | Text | No |
| Product ID | Text | No |
| Variant ID | Text | No |
| Page | Number | No |
| Per Page | Number | No |
Generate Order Invoice9 fields
| Field | Type | Required |
|---|---|---|
| Order ID | Text | Yes |
| Billing Name | Text | Yes |
| Address | Text | Yes |
| City | Text | Yes |
| State / Region | Text | No |
| ZIP / Postal Code | Text | Yes |
| Country | Text | Yes |
| Notes | Long text | No |
| Language | Text | No |
Get Product1 fields
| Field | Type | Required |
|---|---|---|
| Product ID | Text | Yes |
List Variants4 fields
| Field | Type | Required |
|---|---|---|
| Product ID | Text | No |
| Status | Fixed list | No |
| Page | Number | No |
| Per Page | Number | No |
Get Subscription1 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | Yes |
Cancel Subscription1 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | Yes |
Resume Subscription1 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | Yes |
Pause Subscription3 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | Yes |
| Pause Mode | Fixed list | Yes |
| Resumes At | Text | No |
Unpause Subscription1 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | Yes |
Change Subscription Plan5 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | Yes |
| Product | List (from your account) | No |
| New Variant | List (from your account) | Yes |
| Charge Prorated Amount Now | Yes / No | No |
| Disable Proration | Yes / No | No |
List Subscription Invoices5 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | No |
| Subscription ID | Text | No |
| Status | Fixed list | No |
| Page | Number | No |
| Per Page | Number | No |
List Discounts3 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | No |
| Page | Number | No |
| Per Page | Number | No |
Create Discount10 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | Yes |
| Name | Text | Yes |
| Code | Text | Yes |
| Amount Type | Fixed list | Yes |
| Amount | Number | Yes |
| Max Redemptions | Number | No |
| Starts At | Text | No |
| Expires At | Text | No |
| Duration (subscriptions) | Fixed list | No |
| Duration in Months | Number | No |
Delete Discount1 fields
| Field | Type | Required |
|---|---|---|
| Discount ID | Text | Yes |
Get License Key2 fields
| Field | Type | Required |
|---|---|---|
| License Key ID | Text | No |
| License Key | Text | No |
Update License Key6 fields
| Field | Type | Required |
|---|---|---|
| License Key ID | Text | Yes |
| Activation Limit | Number | No |
| Unlimited Activations | Yes / No | No |
| Expires At | Text | No |
| Never Expires | Yes / No | No |
| Status | Fixed list | No |
List License Keys6 fields
| Field | Type | Required |
|---|---|---|
| Store | List (from your account) | No |
| Order ID | Text | No |
| Order Item ID | Text | No |
| Product ID | Text | No |
| Page | Number | No |
| Per Page | Number | No |
Get Discount1 fields
| Field | Type | Required |
|---|---|---|
| Discount ID | Text | Yes |
List License Key Activations3 fields
| Field | Type | Required |
|---|---|---|
| License Key ID | Text | No |
| Page | Number | No |
| Per Page | Number | No |
List Affiliates4 fields
| Field | Type | Required |
|---|---|---|
| Store ID | Text | No |
| Affiliate Email | Text | No |
| Page | Number | No |
| Per Page | Number | No |
List Discount Redemptions4 fields
| Field | Type | Required |
|---|---|---|
| Discount ID | Text | No |
| Order ID | Text | No |
| Page | Number | No |
| Per Page | Number | No |
List Subscription Items4 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | No |
| Price ID | Text | No |
| Page | Number | No |
| Per Page | Number | No |
Validate License Key2 fields
| Field | Type | Required |
|---|---|---|
| License Key | Text | Yes |
| Instance ID | Text | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
