Redeem a license key to grant a plan’s entitlements without checkout.
License keys
License keys grant a plan’s entitlements to the authenticated user.
await platform.activateLicenseKey({
key: "RB-XXXXXXXX-…",
installation_id: "optional-stable-id",
});
await platform.activateLicenseKey(
key: 'RB-XXXXXXXX-…',
installationId: installationId,
);
Notes
- Requires end-user JWT
- On success, refresh entitlements and update offline cache
- Key format and redemption limits are enforced server-side
- Prefer keys for offline-sold / gift / retail channels; use payments for online checkout