Skip to main content
Lemon Squeezy is closing. It stopped accepting new stores on November 16, 2026 and stops processing payments on March 31, 2027. If your software checks Lemon Squeezy license keys, this guide moves those keys into AuthForge as they are, so your customers keep the key they already have. AuthForge replaces one part of Lemon Squeezy: issuing license keys and checking them in your app. It does not take payments, so you still need a payment provider for new sales.

What changes, and when

Lemon Squeezy recommends Stripe Managed Payments as the successor, and says of it: “Managed Payments doesn’t deliver files, links, or license keys. You’ll need a separate solution” [2]. Its fulfillment page gives two options, hosting fulfillment yourself or using a third-party provider, and adds: “Before choosing a provider, confirm what can be imported and plan how existing customers will continue accessing their purchases.” [3] The next section is that confirmation for AuthForge.
Lemon Squeezy’s pages do not mention its License API (activate, validate, deactivate) by name when they describe what stops. If your plan depends on those endpoints after March 31, 2027, ask Lemon Squeezy.

What moves and what does not

Two more things to know before you plan the move:
  • Your app needs a new build. AuthForge does not answer the Lemon Squeezy License API. Your software checks keys through an AuthForge SDK instead of calling activate and validate. Builds you have already shipped keep asking Lemon Squeezy until the customer updates.
  • One AuthForge app per product. A license key belongs to one app. If you sell several products with license keys, create an app for each and import each product’s keys into its own app.

Before you start

  • Create the AuthForge app (or apps) the keys belong to.
  • Create a Lemon Squeezy API key (in Lemon Squeezy: Settings → API).
  • Decide what a key with no activation limit becomes. See the activation_limit row below.

1. List your keys

The order export that Lemon Squeezy documents has no license key column [8]. Its API lists the keys: GET /v1/license-keys “Returns a paginated list of license keys.” [4]
A page holds at most 100 keys (page[size], default 10). Read meta.page.lastPage in the answer and request each page up to it [5]. The filters are store_id, order_id, order_item_id, product_id and status [4].

2. Map the fields

Each key in the answer has an attributes object [6]. This is how it maps to the import file: A file made this way looks like this:
The last line is a key that was disabled on Lemon Squeezy.
unlimited is permanent. An unlimited-seat license accepts any device and cannot be given a seat limit later. A license with a limit can have it changed at any time. If you are unsure, import with a number; you can remove an import and run it again while nothing depends on it yet.

A script for steps 1 and 2

This Python script (standard library only, Python 3.8 or later) reads every page of GET /v1/license-keys and writes the import file. Keys that are not imported go to left-out.csv with the reason, so nothing disappears silently.
This script has not been run against a live Lemon Squeezy store. It was tested against a local server that answers with pages built from the example response in Lemon Squeezy’s API reference [4]. Run the import as a dry run first and read the report before you write anything.
lemon_keys_to_csv.py
What it decides for you, so you can decide otherwise:
  • A key with no activation limit becomes unlimited. To cap those keys instead, replace unlimited in the seats column before you import.
  • A key with a limit above 16 is left out until you run the script again with --over-16 16 or --over-16 unlimited.
  • A disabled key is written with revoked in the status column, so it is imported revoked and your app is told revoked for it. To leave disabled keys out instead, delete those lines from the file before you import; AuthForge then refuses them as invalid_key.
  • An expired key is written with its past date and is imported as an expired license. An expired key whose expires_at is empty or still in the future is left out and listed in left-out.csv: AuthForge works out “expired” from the date, and there is none to go by. Give it a past date by hand, or revoked in the status column, if you want it on record.
  • A key whose status is inactive (“valid but has no activations” [7]) is imported as an active license with no device bound, like every other key.
The files contain your customers’ email addresses and working license keys. Keep them off shared drives and delete them when the import is done.

3. Import, dry run first

Follow Import existing license keys: open the app, choose Import Keys, select the file and Check file. Nothing is written until you have read the report and chosen Import N licenses. From a script, POST /v1/licenses/import with dryRun: true does the same check. The import is free and open to every account. It sends no email to your customers and fires no webhook. If you imported the wrong file, remove the import and start again.

4. Ship a build that asks AuthForge

Replace the calls to the Lemon Squeezy License API with an AuthForge SDK: Python, C#, C++, Rust, Go or Node.js. The quickstart has the login call for each. Your current build has the customer’s license key saved somewhere. Have the new build read that saved key and log in with it, so the customer is not asked for a key they entered long ago. An imported key works the moment the import finishes, in a build that asks AuthForge. Builds you shipped earlier keep asking Lemon Squeezy; get the new build to your customers before March 31, 2027.

Activations do not carry over

On Lemon Squeezy an activation is an “instance”: “an instance is a recorded “use” of a license key” [7], created with a name your app chooses (instance_name) and identified by an ID your app stores. An AuthForge seat is a hardware ID that the SDK computes on the customer’s machine (see HWID locking). The two cannot be converted into each other, so the import leaves the device bindings empty. The first time a customer runs the new build, the SDK binds that device to the key. A key imported with 3 seats is taken by the first 3 devices that run the new build. If the wrong device takes a seat, reset the key, or let customers reset their own devices in the portal under a policy you set.

5. Deliver keys for new sales

AuthForge does not sell your product. Once your new payment provider is taking orders, each sale has to create a license:
  • Stripe Checkout. Commerce issues the key when a Stripe Checkout purchase completes, emails it to the buyer, and revokes it on a full refund or a chargeback.
  • Any other provider. Your own webhook handler creates the license with one call to the Developer API when a sale completes. See Build your own integration.
Commerce has not been tested with a store on Stripe Managed Payments, the provider Lemon Squeezy recommends. Until it has, do not assume that it works there: test it in a Stripe sandbox before you depend on it, or create licenses from your own webhook handler with the Developer API, which does not depend on the provider.

Subscriptions

An imported license keeps the expiry date from the file. The import does not link a license to a subscription, and Commerce never changes an imported license, even when its email is the buyer’s: a renewal, refund or chargeback at your new provider does not move its date or revoke it. If you sell subscriptions, move the date yourself when a renewal is paid: PUT /v1/licenses/{licenseKey} with action: "extend" (Extend expiration). Subscription lifecycle has the pattern. How subscriptions themselves move from Lemon Squeezy to another provider is described in Lemon Squeezy’s migration guide [2]; this guide covers the keys. A license that Commerce issued through your Lemon Squeezy connection is not imported: it is already in AuthForge, and when Lemon Squeezy moves its subscription to your Stripe account it follows the subscription. See Moving subscriptions to Stripe.

Limits

These are the same for every account, free or paying:
  • 5,000 rows and 2 MB per file. The script above splits the list into files of 5,000.
  • 50,000 imported licenses per account per day (UTC).
  • 10 import requests per account per minute, checks and removals included.
  • Keys are 8 to 64 characters; seats is 1 to 16 or unlimited.
  • A license key is unique across all of AuthForge. A long random key, such as the UUID-shaped keys in Lemon Squeezy’s documentation, will not collide with someone else’s.
Importing costs no credits. A license costs a credit when it is validated, like any other.

Sources

Read on December 2, 2026. Lemon Squeezy is changing these pages as the shutdown approaches; if one of them disagrees with this guide, the page is right.
  1. Lemon Squeezy, “Saying goodbye to Lemon Squeezy”, November 16, 2026: lemonsqueezy.com/blog/saying-goodbye-to-lemon-squeezy
  2. Lemon Squeezy, “Lemon Squeezy is winding down”: docs.lemonsqueezy.com/migration
  3. Lemon Squeezy, “Digital fulfillment when moving from Lemon Squeezy to Managed Payments”: docs.lemonsqueezy.com/migration/digital-fulfillment
  4. Lemon Squeezy API, “List all license keys”: docs.lemonsqueezy.com/api/license-keys/list-all-license-keys
  5. Lemon Squeezy API, “Requests” (pagination): docs.lemonsqueezy.com/api/getting-started/requests
  6. Lemon Squeezy API, “The license key object”: docs.lemonsqueezy.com/api/license-keys/the-license-key-object
  7. Lemon Squeezy, “License keys” tutorial: docs.lemonsqueezy.com/guides/tutorials/license-keys
  8. Lemon Squeezy, “Exporting orders”: docs.lemonsqueezy.com/help/orders/exporting-orders