Products
tiun is the commercial backend for SaaS, AI, and digital products. Everything you sell is modeled as a product. There are two product types; each matches a different pricing and access pattern.
Subscription
Subscriptions charge users on a fixed schedule—for example monthly, quarterly, or yearly. You configure the interval, the recurring fee, and optionally a trial period with a trial amount (including free trials when the trial amount is zero).
This model fits SaaS, membership sites, premium content, and any product where access is continuous and priced as a membership rather than by the minute.

Time-based billing
With time-based billing, users pay for time spent with your content rather than a flat subscription. You define how often tiun charges (the interval), how much each interval costs (interval fee), and optionally a monthly limit so spending cannot exceed a cap you set.
Typical configuration might look like: bill every 1 minute at CHF 0.20, with a monthly limit of CHF 10. That pattern fits news, podcasts, video streaming, magazines, and any experience where value tracks engagement over time.

Product IDs
Every product receives a unique product ID—for example p-live-pro. This identifier is stable: you use it when calling tiun.checkout() (subscriptions) or tiun.start() (time-based), checking entitlements in code, and correlating analytics.
You can find a product's ID in the tiun dashboard on the product detail or edit views for that product. Copy it from there whenever you need to reference the product in integration code or configuration.
Mix and match
A single tiun account can include multiple product types at once—for example a subscription for your core SaaS and a time-based offering for premium media. Use tiun.checkout({ productId }) for subscriptions and tiun.start() for time-based billing — both are simple one-line calls.
Last updated
Was this helpful?