Skip to main content
A product is the thing you are selling. It defines the billing model and price. You create products once and reuse them across checkouts. StellarTools has two product types: one-time and subscription.

One-time

The customer pays once. You get the money. Nothing recurs, nothing needs managing afterward. Good for software licenses, digital downloads, access passes, and any purchase that only needs to happen once. Create a checkout with a one-time product and the customer pays the fixed price you set.

Subscription

The customer is billed on a recurring schedule. You set the price and the billing period: daily, weekly, monthly, yearly, or a custom interval. StellarTools renews the subscription automatically at the end of each period. You can cancel, pause, or resume from the API or from the customer portal. When a subscription renews, StellarTools fires a subscription.renewed webhook so you know to keep the customer’s access active.

Checking access

Both product types grant the customer access to whatever they paid for. Once they have a confirmed payment or an active subscription, you can verify that access programmatically:
The AI SDK, LangChain, and UploadThing adapters run this check automatically — you only call it directly if you’re building your own gating logic.

Choosing a type

If you charge once, use one-time. If you charge on a fixed schedule, use subscription. You cannot change a product’s type after it is created.

API Reference: Products

Create, read, and update products via the REST API.

Checkouts

Turn a product into a payment link.