Skip to content

License keys your software can check, issued on each sale and answered by one API call.

Licenses is the app that gives a Novinzo variant license keys. It makes a key for each unit sold or sells keys you supply, sets how long each key lasts and how many times it can be activated, and answers your software when it asks whether a key is good. It is one of the apps a new store starts with, and like every app it is available to every store at no charge.

This page is the reference for what the app does and does not do. For what selling keys looks like to a buyer, read selling license keys. For the whole process, read how to sell license keys.

1,000
unsold keys a variant can hold
60 in 60 s
requests per IP address and store host
5 answers
for a key that does not activate

Checked

Setting it up takes a variant and an API key

  1. Switch it on for a variant

    In the variant's What the buyer gets, open Licenses and switch on Enable license management for this variant. Under License keys, choose Generate keys automatically or Use my own keys.

  2. Set the terms

    Keep Never expires (lifetime access) or fill in Valid for with a unit from Hours to Years. Keep Unlimited activations or fill in Maximum activations.

  3. Create an app API key

    The store owner opens Settings, then Developers, chooses Create API key with the App API key type, and grants it Licenses. It lasts from 7 days to a year, and the token is shown once.

  4. Call it from your server

    Your server posts the key to your store's activate-license-key route with the API key as a bearer token. The request in the developer docs.

What the Licenses app does

Two sources of keys
Generated keys are made for each unit and never run out. Your own keys become the variant's stock, up to 1,000 unsold at a time, each up to 512 characters, with no duplicates. Saving the variant as generated drops its unsold keys.
Terms fixed at the sale
Validity runs from the sale. A month counts as 30 days and a year as 365. A key keeps the terms it was sold with, so changing the variant changes only the keys sold after.
One call, one answer
The activation call answers Valid, with the activations left on a limited key, or Invalid with a reason: NotFound, Expired, Exhausted, Suspended or Revoked. A used-up key answers Exhausted once, then NotFound. An expired key does the same with Expired, unless it belongs to a subscription. Each Valid answer on a limited key uses one activation, so there is no call that only checks.
Every issued key in one list
The Licenses page lists every key you issued, newest first, with its status (Active, Expired, Used up or Revoked) and its activations, such as 2 of 5. Search by whole key, order ID or customer email.
Revoke and replace
Revoke key ends a key for good. Replace key revokes it and issues another for the same order, with the same terms and the time the first had left, taken from unsold stock when you supply the keys.
Keys that follow a subscription
A subscription's key is valid through each paid period. When a renewal is overdue, the variant's Keep access or Suspend access decides whether it still activates, and it never activates again once the subscription has ended. Subscriptions.
Keys sold through resellers
In the Resellers app, This store's keys sells keys of your own Licenses products. Such a key has no order or customer: its page says an app sold it and gives the sale reference. Revoking it does not tell the app.

What it does not do

No machine binding
The call carries the key and nothing about the device. An activation is a count.
No editing a sold key
You cannot extend a key or add activations to it. Revoke it, or replace it with a key on the same terms.
No revoke on a partial refund or a chargeback
A full refund, recorded in Novinzo or reported by the payment provider, revokes the order's keys, except a subscription's. A partial refund or a chargeback revokes nothing, so revoke the key yourself.

Questions people ask

Is there a license key API?
Yes. The activate-license-key route on your store's domain takes a key and an app API key and answers whether the key is valid. Requests are limited to 60 in 60 seconds for each IP address and store host, a limit shared with the other storefront API requests from that address.
Can I check a key without using an activation?
No. Each valid answer on a key with Maximum activations uses one. Software that checks its key at every start needs Unlimited activations.
What happens to unsold keys if I turn the app off for a variant?
Switching off license management deletes the variant's settings and its unsold keys. Keys already sold stay as they are.
Does the Licenses app cost anything?
No. Novinzo has no monthly price, no paid plan and no percentage of a sale, and its apps are available to every store at no charge. Your payment provider charges its own fee. Pricing.

Read on

More in Features

Your first sale is close make a shop, add a product, pick how you get paid.

We never hold your money. See how