How to sell a desktop app with license keys
To sell a desktop app, sell a license key through a checkout link. The buyer pays by card and receives a unique key, your app activates and validates it. You decide what happens if it fails. Ruba issues the keys, hosts the validation, and pays you to your own bank.
Why a key suits a desktop app
A Ruba license key can allow 1 to 50 activations and can expire on a date you choose. Tanvir in Chattogram built a bulk file renamer for Windows and Mac. A buyer installs it and runs it offline for weeks. Tanvir needs a simple way to say “this copy is paid for”. That is a license key.
A key is a code. The buyer pastes it in your app. Your app asks Ruba if the key is valid. If yes, it unlocks.
The life of one key
- BuyBuyer paysOn Ruba’s checkout, by card.
- ReceiveGets a keyWith your prefix, like RENAME-.
- ActivateApp activates itOne activation per device.
- LaunchApp validates itOn start, or before a paid action.
Your app calls Ruba’s validate endpoint with the key and your organization ID. Always check the organization ID, so a valid key from another seller cannot unlock your app. If you sell several keys, match the benefit ID too.
What you control
The installer reaches each buyer through a private link that works for 60 minutes. Every file is checked for malware first.
Lifetime or yearly?
Great for Small tools that rarely change.
Watch for You support old versions for years. Consider a major_version condition.
Great for Apps that you keep improving.
Watch for Some buyers dislike renewals. Be clear about what they keep.
Here is what Gumroad’s and Polar’s pages say. Gumroad is 10% + $0.50 on direct sales. Polar’s free plan is 5% + 50¢. Ruba is 4% + $0.50, with no monthly fee, and pays you in PKR, INR or BDT to your own bank.
What to do next
Decide lifetime or yearly, then apply for Ruba early access. After approval, create a product and attach a License keys benefit. For the choice of plan, read lifetime deal or subscription.
Let each key activate on a few machines, no more. A company is not required, and no monthly fee applies. Get approved in early access and your desktop app keeps 4% + $0.50 per sale, locked while the account stays open and in good standing. A payout starts at $10 after the fee. You ask when you are ready, it goes to your own bank, in PKR, INR, BDT or 51 other currencies, and it costs $2 up to $200, then 1%. The $100 promise: a fee Ruba never told you about comes back to you, and Ruba pays you $100. Terms apply. See the early-access deal.
Questions people ask
How does a license key work with Ruba?
You attach a License keys benefit to a product. Each buyer gets a unique key after purchase. Your app can activate the key on a device and validate it when it starts. Ruba hosts the validation, and you decide what happens when it fails.
How many devices can one key run on?
You choose an activation limit from 1 to 50. When customer deactivation is enabled, a buyer can remove an old activation on their own.
Can I sell a yearly licence that expires?
Yes. A key can expire after a number of days, months or years. The dashboard default is one year. A key can also be revoked automatically when the subscription that supplied it ends.
Can I limit a key by usage?
Yes. A key can carry a usage allowance, and your app increments it when it validates. Use that for exports, renders or other counted actions.
Can I check a key offline?
Ruba hosts online validation. If your app must work offline, decide how long to trust a previous successful check, and design that part yourself.
Sources
We check these when we update this guide. Rules can change, so check them yourself before you decide.
- Gumroad: featuresChecked 26 Nov 2026
- Polar: feesChecked 26 Nov 2026
- Ruba: license keysChecked 26 Nov 2026
- Ruba: subscriptionsChecked 26 Nov 2026
- Ruba: pricing and feesChecked 26 Nov 2026
- Ruba: payoutsChecked 26 Nov 2026