Skip to content
Lemon Squeezy

How to use Lemon Squeezy

Cost: 1 credit per runTechnical reference

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

  1. 1Sign in to Lemon Squeezy and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Lemon Squeezy step, click "Connect" and paste it.
  4. 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
FieldTypeRequired
StoreList (from your account)Yes
Order RefundedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription CreatedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription UpdatedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription CancelledWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription ResumedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription ExpiredWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription PausedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription UnpausedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription Payment SuccessWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription Payment FailedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription Payment RecoveredWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Subscription Payment RefundedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
License Key CreatedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
License Key UpdatedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes
Affiliate ActivatedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
StoreList (from your account)Yes

Actions (35)

Operations available as flow steps. Expand each one to see its fields.

List Products3 fields
FieldTypeRequired
StoreList (from your account)No
PageNumberNo
Per PageNumberNo
List Orders5 fields
FieldTypeRequired
StoreList (from your account)No
Customer EmailTextNo
Order StatusFixed listNo
PageNumberNo
Per PageNumberNo
Get Order1 fields
FieldTypeRequired
OrderList (from your account)Yes
List Subscriptions9 fields
FieldTypeRequired
StoreList (from your account)No
OrderList (from your account)No
Order Item IDTextNo
ProductList (from your account)No
VariantList (from your account)No
Customer EmailTextNo
Subscription StatusFixed listNo
PageNumberNo
Per PageNumberNo
Create Checkout10 fields
FieldTypeRequired
StoreList (from your account)Yes
ProductList (from your account)No
VariantList (from your account)Yes
Customer EmailTextNo
Customer NameTextNo
Custom Price (cents)NumberNo
Discount CodeTextNo
Redirect URLTextNo
Expires AtTextNo
Custom DataJSONNo
List Customers4 fields
FieldTypeRequired
StoreList (from your account)No
EmailTextNo
PageNumberNo
Per PageNumberNo
List Stores2 fields
FieldTypeRequired
PageNumberNo
Per PageNumberNo
Get Customer1 fields
FieldTypeRequired
Customer IDTextYes
Find Customer by Email2 fields
FieldTypeRequired
EmailTextYes
StoreList (from your account)No
Create Customer6 fields
FieldTypeRequired
StoreList (from your account)Yes
NameTextYes
EmailTextYes
CityTextNo
RegionTextNo
CountryTextNo
Update Customer7 fields
FieldTypeRequired
Customer IDTextYes
NameTextNo
EmailTextNo
CityTextNo
RegionTextNo
CountryTextNo
Archive CustomerYes / NoNo
List Order Items5 fields
FieldTypeRequired
Order IDTextNo
Product IDTextNo
Variant IDTextNo
PageNumberNo
Per PageNumberNo
Generate Order Invoice9 fields
FieldTypeRequired
Order IDTextYes
Billing NameTextYes
AddressTextYes
CityTextYes
State / RegionTextNo
ZIP / Postal CodeTextYes
CountryTextYes
NotesLong textNo
LanguageTextNo
Get Product1 fields
FieldTypeRequired
Product IDTextYes
List Variants4 fields
FieldTypeRequired
Product IDTextNo
StatusFixed listNo
PageNumberNo
Per PageNumberNo
Get Subscription1 fields
FieldTypeRequired
Subscription IDTextYes
Cancel Subscription1 fields
FieldTypeRequired
Subscription IDTextYes
Resume Subscription1 fields
FieldTypeRequired
Subscription IDTextYes
Pause Subscription3 fields
FieldTypeRequired
Subscription IDTextYes
Pause ModeFixed listYes
Resumes AtTextNo
Unpause Subscription1 fields
FieldTypeRequired
Subscription IDTextYes
Change Subscription Plan5 fields
FieldTypeRequired
Subscription IDTextYes
ProductList (from your account)No
New VariantList (from your account)Yes
Charge Prorated Amount NowYes / NoNo
Disable ProrationYes / NoNo
List Subscription Invoices5 fields
FieldTypeRequired
StoreList (from your account)No
Subscription IDTextNo
StatusFixed listNo
PageNumberNo
Per PageNumberNo
List Discounts3 fields
FieldTypeRequired
StoreList (from your account)No
PageNumberNo
Per PageNumberNo
Create Discount10 fields
FieldTypeRequired
StoreList (from your account)Yes
NameTextYes
CodeTextYes
Amount TypeFixed listYes
AmountNumberYes
Max RedemptionsNumberNo
Starts AtTextNo
Expires AtTextNo
Duration (subscriptions)Fixed listNo
Duration in MonthsNumberNo
Delete Discount1 fields
FieldTypeRequired
Discount IDTextYes
Get License Key2 fields
FieldTypeRequired
License Key IDTextNo
License KeyTextNo
Update License Key6 fields
FieldTypeRequired
License Key IDTextYes
Activation LimitNumberNo
Unlimited ActivationsYes / NoNo
Expires AtTextNo
Never ExpiresYes / NoNo
StatusFixed listNo
List License Keys6 fields
FieldTypeRequired
StoreList (from your account)No
Order IDTextNo
Order Item IDTextNo
Product IDTextNo
PageNumberNo
Per PageNumberNo
Get Discount1 fields
FieldTypeRequired
Discount IDTextYes
List License Key Activations3 fields
FieldTypeRequired
License Key IDTextNo
PageNumberNo
Per PageNumberNo
List Affiliates4 fields
FieldTypeRequired
Store IDTextNo
Affiliate EmailTextNo
PageNumberNo
Per PageNumberNo
List Discount Redemptions4 fields
FieldTypeRequired
Discount IDTextNo
Order IDTextNo
PageNumberNo
Per PageNumberNo
List Subscription Items4 fields
FieldTypeRequired
Subscription IDTextNo
Price IDTextNo
PageNumberNo
Per PageNumberNo
Validate License Key2 fields
FieldTypeRequired
License KeyTextYes
Instance IDTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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