Duration Keys
You can set a different price for each duration when creating or editing your product. Customers choose their preferred plan at checkout.
Plan Data in Responses
When a license has a plan, the API response includes full plan details:Lifetime Licenses
For products sold as one-time purchases without an expiry, the response shows:Expiry Behavior
- An hourly background job checks all licenses and marks expired ones automatically.
- Once expired, the API returns
LICENSE_EXPIRED(HTTP 403) for that key. - The
expires_in_daysfield lets you show a countdown or warning to your users before their license expires.
Licenses are tied to the order. If an order is cancelled or refunded, all associated license keys are revoked regardless of their remaining duration.

