Software license keys

Sell software with unique license keys

Generate a license key after payment, set installation limits and validate access through the License API. Built for one-time software sales.

Your software enforces access through the API.

From paid order to activated software

  1. 01

    Configure before checkout

    Create a paid, one-time License or Digital Product. Enable key generation, choose 1–100 installations and optionally set validity in days. Empty validity means lifetime access.

  2. 02

    Deliver after confirmed payment

    One key is issued per purchased unit, up to 100 units per order line. A digital product can deliver both its download and its key. Buyers find keys in their completion email and primary customer portal account.

  3. 03

    Connect your application

    Integrate activate, validate and deactivate. Pin the seller and product IDs. Store a stable random installation ID and the instance ID returned by activation.

  4. 04

    Manage access

    Disable or re-enable licenses and release installations from the product page. Refunds and disputes block all licenses on the affected order.

A license validation API for your own software

Use HTTPS POST with seller_id, product_id and license_key in the body. Validate with instance_id to enforce installation limits. The buyer’s key is a bearer credential; no merchant API secret belongs in your app.

Activate

/api/v1/licenses/activate

Register an installation and receive its instance ID. Repeating the same installation ID uses no extra slot.

Validate

/api/v1/licenses/validate

Check license status and the active instance. Failed requests or unexpected seller/product IDs mean access is not confirmed.

Deactivate

/api/v1/licenses/deactivate

Release an installation slot. Reactivation creates a new instance ID and invalidates the previous proof.

Send keys in request bodies, never URLs or logs. Back off on HTTP 429: the three operations share limits of 60 requests per minute per IP and per key. Implement any offline grace period explicitly.

Read the integration guide

Know the scope before you ship

License terms lock as soon as any order exists, including an unpaid checkout. Create a new product for different terms. Existing orders do not receive keys retroactively. Contact users cannot view keys.

One-time purchases only. Subscription licenses, existing-key imports, automatic software updates and offline signed licenses are not included. Lemon Squeezy integrations require API changes.

Software licensing questions

Does a license key protect my software automatically?

Your application must integrate the License API and decide whether to unlock access. Key generation alone does not enforce access.

Can I sell a download and a license together?

Yes. Enable license generation on a paid, one-time Digital Product before its first checkout. Confirmed payment can deliver both the file and a unique key per unit.

Can buyers move a license to another device?

Your software can deactivate an installation to free a slot. Sellers can also release installations from the product page.

What happens after a refund?

Refunds and disputes block all licenses on the order. Partial refunds do not automatically split access between units. Re-enabling a license does not override expiry, payment reversal or seller suspension.

Explore software sales and delivery

Digital products are available on Free: 2% standard payment fee, capped at €25 per transaction. Premium (€5/month) and Business (€20/month) remove standard platform fees while active. Provider fees and commission-payment exceptions remain separate.

Start selling software