Lemon Squeezy
Lemon Squeezy is a merchant-of-record platform for selling digital products, software, SaaS subscriptions, and license keys. As merchant of record it handles global sales tax, VAT, payments, and compliance on the seller's behalf. The REST API at https://api.lemonsqueezy.com/v1 uses the JSON:API specification with Bearer API key authentication to manage stores, products, variants, prices, customers, orders, subscriptions, license keys, checkouts, discounts, and webhooks. Lemon Squeezy was acquired by Stripe in July 2024.
APIs
Lemon Squeezy Stores API
List and retrieve the stores connected to your Lemon Squeezy account, including store name, currency, plan, and aggregate sales totals.
Lemon Squeezy Products & Variants API
List and retrieve products, their variants (purchasable versions), and price models. Variants carry pricing, intervals, and license-key settings; prices expose the price history...
Lemon Squeezy Customers API
Create, list, retrieve, and update customers in a store, including name, email, status, and lifetime value, with the option to archive a customer.
Lemon Squeezy Orders API
List and retrieve orders and their order items, generate or refund an order invoice, and issue refunds. Each order reflects taxes collected under Lemon Squeezy's merchant-of-rec...
Lemon Squeezy Subscriptions API
Manage recurring billing - list, retrieve, update, pause, resume, and cancel subscriptions; read subscription invoices and subscription items; and report metered usage via usage...
Lemon Squeezy License Keys API
List, retrieve, and update license keys and their instances, plus the separate public License API to activate, validate, and deactivate keys from distributed software.
Lemon Squeezy Checkouts API
Create custom hosted checkout URLs with prefilled customer data, custom prices, product options, and checkout options, and list or retrieve existing checkouts.
Lemon Squeezy Discounts API
Create, list, retrieve, and delete discount codes (percentage or fixed amount), and read discount redemptions recording where a discount was applied.
Lemon Squeezy Webhooks API
Create, list, retrieve, update, and delete webhook endpoints that receive signed event callbacks for orders, subscriptions, license keys, and other store events.