License keys for Stripe

Sell your software through Stripe. We handle the license keys.

A payment creates a key, your app checks it with one API call, and you see every license, device and refund in one place.

How it works

You get a private sandbox with sample data. No sign-up, deleted after 24 hours.

The Perpetually dashboard: active licenses, licenses issued per week and recent licenses

How it works

  1. 01

    A customer pays

    They buy your product through Stripe Checkout or a payment link, like any other Stripe sale.

  2. 02

    A license key is issued

    Stripe calls our webhook. We create a key using the product's policy and email it to the customer.

  3. 03

    Your app activates it

    Your app sends the key to the API. Device limits and expiry dates are enforced on our side.

What you get

Stripe as the source of truth
Products sync from Stripe. Refunds are flagged on the license so you can decide what to do.
Device limits
Each policy sets how many machines a key can run on. Customers free up slots themselves.
Perpetual or subscription
Keys can last a year, a trial period or forever, set per product policy.
Customer portal
Customers see their keys, regenerate a leaked one and remove old devices without emailing you.
Audit trail
Every key, device and status change is logged with who did it: you, the API or the customer.
Teams and test mode
Invite your team, and keep Stripe test purchases separate from real ones.

API

Three endpoints cover the whole lifecycle.

  • POST /validateIs this key valid right now?
  • POST /activateRegister this machine against the key.
  • POST /deactivateFree up a device slot.
const res = await fetch("https://your-host/api/v1/validate", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_live_...",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ licenseId, key: "7X1S-TT0F-3QAX-Z4F0" }),
});

const { valid, license } = await res.json();
// valid: true, license.expiresAt, license.activations

Pricing

The plans are part of the demo. No real payments are taken.

Starter

$0 / month

  • 100 licenses
  • 3 products
  • Customer portal
  • Email notifications

Pro

$29 / month

  • Unlimited licenses and products
  • License API
  • Priority support

Business

$99 / month

  • Everything in Pro
  • Unlimited team members
  • Custom portal branding

See it with real data in under a minute.