How to sell license keys, from the first key in stock to the one you have to revoke.
Selling license keys takes three things: a source of keys, a checkout that hands one over once the payment is confirmed, and a record of who holds which key. The source is either a list of keys you already have, sold one at a time until it runs out, or a system that makes a new key for each sale.
If they are license keys for your own software, add a fourth: an API the software sends the key to when it is activated, so that an expired, revoked or used-up key is refused. This guide covers each part, then the setup with Novinzo's Licenses app, one of the apps a new store starts with.
Checked
There are two kinds of key
- Keys you already hold
- Product keys someone else issued, or codes you exported from a generator of your own: software and game keys from a publisher or distributor, gift and top-up codes. They are stock. Each is sold once, and when the list is empty you are sold out.
- Keys made at the moment of sale
- A licensing system generates a key when the order is paid and remembers its terms: how long it lasts and how many times it can be activated. Nothing runs out, and the key can be checked, expired and revoked later.
A buyer of a key expects four things
- The key, at once
- On the page after payment and in an email, within seconds.
- A key that works
- Unused, for the right product and region, and sold to nobody else.
- A way to get it again
- People lose emails. The order page should show the key for as long as the buyer needs it, without writing to you.
- How to redeem it
- Where to enter the key, in a line or two, shown beside it.
Stock is the business, and it runs out
With keys you hold, load them only from a source you trust and never sell one twice. Decide what the store does at zero: the honest answer is to show sold out and refuse the sale, not to take the money and deliver later.
An unpaid checkout should hold its keys for a few minutes, so that two buyers are not paying for the last one at once. And if you sell to a community, tell it when you restock.
On Novinzo the keys you paste become the variant's stock, each delivered once. Buyers see in stock, low stock at five or fewer, or sold out, and checkout refuses a variant with no keys left. Unpaid checkouts hold stock for 10 minutes by default. A buyer who pays after the hold lapsed is still charged, and if no key is left the order waits for a refund or a restock. The Discord app does not announce restocked keys, so post them yourself.
Validation lets your software check a key
A key that is only a string can be copied freely. Validation fixes that: when the software is activated it sends the key to an API, which answers whether the key exists, has expired, has been revoked, or has been activated too many times. Selling software with a key depends on it.
Three terms cover most keys. An expiry sets how long the key lasts from the sale. An activation limit sets how many times it can be activated, which stops one key serving a whole forum. Revoking ends a key for good.
Call the API from your own server, not from the software you ship: a secret inside a download is no longer a secret. Decide too what the software does when it cannot reach the server, so that an outage on your side does not lock out people who paid.
A subscription key lives as long as the payments
Software sold by the month needs a key that lasts as long as the buyer pays. Tie the key to the subscription instead of giving it a fixed life: it stays valid while each period is paid and stops when the subscription ends.
Decide what a failed renewal does. You can keep the buyer working while the payment is collected, or suspend the key until it is. Suspended is not revoked: the same key works again once the payment arrives.
Novinzo's Licenses app works this way for a variant sold as a subscription, and the variant sets whether a buyer whose renewal is unpaid keeps access or is suspended. How subscriptions are sold.
Keys leak, and payments get charged back
A leaked key is one posted in public or passed around beyond its buyer. Revoke it so that it stops activating, and give the buyer who paid a replacement that carries the time the old key had left.
A refunded order should take its keys with it. A chargeback is worse: the bank takes the money back and the buyer still holds the key, so find the key by its order and revoke it yourself. None of this helps with a key redeemed on someone else's system, such as a game key: once used it is gone, which is why fraud screening comes before delivery.
In Novinzo's Licenses app you find an issued key by the key itself, an order ID or the customer's email, then revoke or replace it. Replacing a key you supplied takes an unsold one from stock. A full refund revokes the order's keys only when Novinzo records it or the provider reports it, except a subscription's, which follow the subscription. A refund you send outside Novinzo, such as crypto from your own wallet, revokes nothing. Neither does a partial refund or a chargeback.
Resellers sell your keys where you cannot
Resellers are other sellers who buy your keys below your price and sell them to their own customers.
A reseller programme needs prices for each reseller or tier, a way for them to pay (a balance they top up, or credit you bill later), and limits, so that one compromised account cannot empty your stock.
Novinzo's Resellers app has these: resellers buy at their own prices from a balance or on credit, in the dashboard or by API, with tiers, statements and sub-resellers, and purchases over a threshold you set wait for your approval. It can sell the keys of your own Licenses products.
Keys attract card fraud
Keys are delivered in seconds, easy to resell and impossible to take back once redeemed, so they are a common target for stolen cards. The real cardholder disputes the charge, and you lose the key, the money and a dispute fee.
Defend in layers. Score card payments for fraud and refuse the worst. Limit how many keys one order can take. Offer crypto for the riskiest products, because a crypto payment cannot be charged back.
On Novinzo that is the Fraud protection app for card payments, added from Settings, then Apps. It starts by only scoring and refuses nothing by score until you switch refusing on in its settings. Each variant can set a maximum quantity for one order, and crypto is paid straight to your own wallet. A crypto refund is store credit, or a payment you send yourself. Novinzo never holds the money: how that works.
Novinzo's Licenses app sets this up in seven steps
Licenses is one of the apps a new store starts with: what it sells. The store itself, with its payments and policies, is covered in how to sell digital products.
Make a variant for each length or tier
Create the product, then a variant for each one you sell, such as a month, a year and lifetime, each with its own price.
Turn on license keys
In the variant's What the buyer gets, open Licenses and switch on Enable license management for this variant.
Choose where the keys come from
Generate keys automatically makes a key for each unit sold, in a fixed format of four groups of five letters and digits. Use my own keys takes a list you paste, split by new line, comma, semicolon or a delimiter of your own. A variant holds up to 1,000 unsold keys at a time.
Set how long a key lasts and how often it activates
Leave Never expires on for a lifetime key, or set Valid for to a number of hours, days, weeks, months or years from the sale. A month counts as 30 days and a year as 365. Leave Unlimited activations on, or set Maximum activations.
Tell the buyer how to redeem it
Add Text to the same variant. It is shown on the paid order page.
Connect your software
In Settings, then Developers, the store's owner creates an app API key, which lasts 30 days by default and up to a year, and grants it Licenses. Your server posts a key to your store's activate-license-key endpoint and reads the answer: valid, with the activations left, or not found, expired, exhausted, suspended or revoked. There is no check-only call: each valid answer on a limited key uses one activation, so software that checks its key again after install needs Unlimited activations. Requests are limited to 60 in 60 seconds for each IP address and store. The request, in the developer docs.
Look after the keys you issued
The Licenses page lists every key, newest first, with filters for Active, Expired, Used up and Revoked. Open one to revoke or replace it.
Questions people ask
- How do I deliver license keys automatically?
- Load the keys onto the product, or have them generated, and the store hands one over for each unit as soon as the payment is confirmed. The buyer sees the key on the order page and receives it by email.
- How does my software check that a license key is valid?
- It sends the key to a licensing API, which answers whether the key exists and is still good. Keep the API secret on your own server and let the software talk to that. Novinzo's Licenses app has an activation call for this, and no call that only checks.
- Can I sell license keys as a subscription?
- Yes. The key stays valid while each period is paid, and stops when the subscription ends. On Novinzo a variant with license keys can be sold as a subscription.
- What should I do if a license key is leaked?
- Revoke it, so that it stops activating, and replace it for the buyer who paid.
- Can I lock a license key to one device?
- Only with a licensing system that records devices. Novinzo's Licenses app counts activations, not machines. For device locking, keep your own licensing server and deliver its keys with Deliver from your own server.
- Is it legal to resell license keys?
- You can sell keys for software you make, or that its publisher has authorised you to sell. Reselling keys bought elsewhere depends on the publisher's terms and on the law where you and your buyers are, so check both first.
More in Guides
- How to sell digital products onlineThe whole setup, from the first product to the first payout.
- How to sell physical products onlineStock, shipping prices, tracking and returns, from the first parcel.
- How to sell digital products with cryptoTaking coins without handing anyone your keys.
- How to sell digital products on DiscordA store your server can buy from, and roles for buyers who link Discord.
- SellAuth alternatives, compared by priceFour alternatives beside SellAuth, with each company's own prices.
- SellAuth vs KomerzaFees, limits and payments, from each company's own pages.
- SellAuth pricing, explainedWhat Base, Business and Scale cost, and what each one adds.
- Custodial and non-custodial paymentsWhere your money sits, and what happens to it if a platform goes away.
- SellAuth reviewWhat it offers and costs, read from its own pages by a competitor.
- Komerza pricing, explainedWhat Free, Premium and Business cost, and what each one adds.
- SellAuth vs ShoppexPlans, fees and limits, from each company's own pages.
- Sellix alternatives for crypto sellersFees on crypto and where each platform says the coins go.
- Platforms for selling digital products, compared by feesWhat each takes from a sale, and which ones say they are a merchant of record.
- What to check before you trust a platform with your salesQuestions to ask a platform before your revenue depends on it.
- How to prevent chargebacks on digital productsWhat causes them, what lowers them, and what to do when one arrives.
- How to sell software onlineLicensing, delivery, updates and renewals for software you built.
- How to sell software keys through resellersPrices, credit and stock for the people who sell your keys.
- How to move an online store to a new platformWhat to take with you, what to rebuild, and how to switch without losing sales.
