@kanunilabs/licensing / LicensePayload
Interface: LicensePayload
The signed claims inside a license key.
Properties
domains
domains:
string[]
Allowed hostnames. Empty = unrestricted. Supports "*.acme.com" wildcards.
email?
optionalemail?:string
Billing email (optional).
exp
exp:
number|null
Expiry (unix seconds) or null for never-expiring perpetual.
features
features:
string[]
Entitled feature flags.
iat
iat:
number
Issued-at (unix seconds).
lid
lid:
string
License id, e.g. "KL-2026-000123".
scope
scope:
LicenseScope
subscription = hard wall-clock expiry; perpetual = version-date entitlement.
seats
seats:
number
Number of developer seats.
sub
sub:
string
Subject — customer / company name.
tier
tier:
LicenseTier
Pricing tier.
v
v:
1
Payload schema version.