# Lemon Squeezy AI integration on Definable

> Lemon Squeezy is a platform designed to simplify payments, taxes, and subscriptions for software companies, offering a powerful API and webhooks for seamless integration.

## What this connects

Lemon Squeezy is a platform designed to simplify payments, taxes, and subscriptions for software companies, offering a powerful API and webhooks for seamless integration.

Vendor: https://www.lemonsqueezy.com/

## Tools available

**32** tools available. First 12:

- `LEMON_SQUEEZY_CREATE_CUSTOMER` — Create Customer — Tool to create a new customer. Use after verifying the store exists and you need to add a customer to it. Example: "Create a customer John Doe with email johndoe@example.com in store 1."
- `LEMON_SQUEEZY_CREATE_DISCOUNT` — Create Discount — Tool to create a new discount code in Lemon Squeezy. Use when you need to create promotional discounts for products or subscriptions. Example: "Create a discount code SUMMER20 with 20% off in store 123."
- `LEMON_SQUEEZY_CREATE_WEBHOOK` — Create Webhook — Tool to create a new webhook for receiving event notifications. Use when you need to register a webhook endpoint to receive events like order_created, subscription_created, etc. Specify the webhook URL, signing secret, and event types to subscribe to.
- `LEMON_SQUEEZY_DELETE_DISCOUNT` — Delete Discount — Tool to delete a discount by its ID. Use when you need to permanently remove a discount from a store.
- `LEMON_SQUEEZY_DELETE_WEBHOOK` — Delete Webhook — Tool to delete a webhook. Use when you need to remove a registered webhook endpoint.
- `LEMON_SQUEEZY_LIST_ALL_AFFILIATES` — List All Affiliates — Tool to list all affiliates. Use when you need to retrieve affiliates with optional filters and pagination.
- `LEMON_SQUEEZY_LIST_ALL_CHECKOUTS` — List All Checkouts — Tool to list all checkouts. Use when you need a paginated list of checkouts, optionally filtering by store or variant.
- `LEMON_SQUEEZY_LIST_ALL_CUSTOMERS` — List All Customers — Retrieves a paginated list of all customers from your Lemon Squeezy store(s). Returns customer details including email, name, location, revenue metrics (MRR, total revenue), marketing status, and relationships to orders, subscriptions, and license keys. Use this action to: - Get all customers across stores or filter by specific store_id - Find a customer by email address - List customers with pagination support (default 10 per page, max 100) - Access customer portal URLs and relationship links All parameters are optional. Without filters, returns all customers ordered by creation date (newest first).
- `LEMON_SQUEEZY_LIST_ALL_DISCOUNT_REDEMPTIONS` — List All Discount Redemptions — Tool to list all discount redemptions. Use when you need a paginated list of discount redemptions, optionally filtering by discount or order.
- `LEMON_SQUEEZY_LIST_ALL_DISCOUNTS` — List All Discounts — Tool to list all discounts. Use when you need a paginated list of discounts after confirming authentication.
- `LEMON_SQUEEZY_LIST_ALL_FILES` — List All Files — Retrieves a paginated list of files from Lemon Squeezy. Use this to get digital goods that can be downloaded by customers after purchase. Each file belongs to a variant and includes download URLs (signed, expiring after 1 hour, rate-limited to 10 downloads/day/IP). Filter by variant ID or control pagination with page number and size.
- `LEMON_SQUEEZY_LIST_ALL_LICENSE_KEY_INSTANCES` — List All License Key Instances — Tool to list all license key instances. Use when you need a paginated list of license key instances, optionally filtering by license key ID.

## Auth

Auth schemes: `API_KEY`.

## How agents use Lemon Squeezy

Inside a Definable workflow, Lemon Squeezy is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Lemon Squeezy** — the Researcher (GPT-5.5) pulls context from Lemon Squeezy (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Lemon Squeezy** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Lemon Squeezy (create record, post message, draft email).
- **Designer / Engineer → Distributor → Lemon Squeezy** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Lemon Squeezy (attach file, open PR comment, post status).

The Verifier checks every Lemon Squeezy call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- ecommerce — https://definable.ai/apps/category/ecommerce/
- payment processing — https://definable.ai/apps/category/payment-processing/

## Related

- HTML page: https://definable.ai/apps/lemon_squeezy/
- Same category (ecommerce): https://definable.ai/apps/category/ecommerce/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
