Integrations / Payments

Lemon Squeezy

Look up orders, customers and subscriptions, cancel subscriptions, and trigger workflows from Lemon Squeezy store events.

8 tools 17 trigger events

Tools

lemon_squeezy.list_orders

List orders, newest first, optionally by customer email or store. Order IDs are numbers, e.g. 1.

user_emailstore_idorder_numberpage_size

lemon_squeezy.get_order

Get an order by its numeric ID.

order_id*

lemon_squeezy.list_customers

List customers, optionally by email or store. Customer IDs are numbers.

emailstore_idpage_size

lemon_squeezy.list_subscriptions

List subscriptions, newest first, optionally by customer email, order, product or status. Subscription IDs are numbers.

user_emailstore_idorder_idproduct_idstatuspage_size

lemon_squeezy.get_subscription

Get a subscription by its numeric ID, with its customer portal links.

subscription_id*

lemon_squeezy.cancel_subscription writes

Cancel a subscription by its numeric ID. It stays active in a grace period until ends_at, then expires.

subscription_id*

lemon_squeezy.api_get

Send a GET request to any Lemon Squeezy API path under https://api.lemonsqueezy.com/v1 and return the response. For endpoints the named tools don't cover.

path*params

lemon_squeezy.api_request writes

Send a POST, PUT, PATCH or DELETE request to any Lemon Squeezy API path under https://api.lemonsqueezy.com/v1.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Lemon Squeezy API path.

Connect

  1. In Lemon Squeezy, open Settings → API and create an API key.
  2. Paste it on the connection.
  3. To trigger workflows, add a webhook under Settings → Webhooks with the URL shown on the connection page, choose the events you need, set a signing secret, and paste the same secret on the connection.

Credentials

API key Webhook signing secret

Lemon Squeezy API docs

Triggers

In Lemon Squeezy, go to Settings → Webhooks, add a webhook with this URL and the events your workflows use, set a signing secret, and paste the same secret on this connection.

Events

order_createdorder_refundedcustomer_updatedsubscription_createdsubscription_updatedsubscription_cancelledsubscription_resumedsubscription_expiredsubscription_pausedsubscription_unpausedsubscription_payment_successsubscription_payment_failedsubscription_payment_recoveredsubscription_payment_refundedlicense_key_createdlicense_key_updatedaffiliate_activated
trigger
kind: lemon_squeezy connection: lemon_squeezy events: [order_created] stores: [...] test_mode: [...]

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.