Expiration & Renewal

tiun manages the billing side of subscriptions so you do not have to build renewal cron jobs or payment retry flows yourself.

How renewal relates to access

Subscription renewal is automatic: tiun handles billing cycles and keeps subscription state consistent with what customers paid for.

While a subscription is active, the corresponding product ID appears in the user’s productAccess array. Your app can keep treating that ID as “unlocked” for as long as it remains in the array.

When access ends—for example after a failed payment or a cancellation that has taken effect—the product ID is removed from productAccess. At that moment the customer should lose access to features or content you tied to that product.

Keeping the UI aligned

Whenever access changes, tiun emits userChange. Listen for that event and refresh gates or UI that depend on productAccess so the app stays in sync without manual renewal logic on your servers.

You do not need to implement manual renewal management in your codebase for standard subscription lifecycle behavior handled by tiun.

circle-info

This section will be expanded with more detail on grace periods, cancellation flows, and renewal notifications.

Last updated

Was this helpful?