Create fixed recurring, usage-based, and one-time payment plans in Retempo. Plans define how subscribers are billed for your service.
Payment plans define the pricing and billing cadence for your service. Every checkout session and invoice in Retempo is tied to a specific plan, so the plan you choose determines how often subscribers are charged, in what amount, and through what mechanism. You can attach multiple plans to a single service — for example, a monthly tier, a weekly trial, and a one-time setup fee can all live under the same service.
Retempo supports three pricing types that cover the most common billing models for AI agents, API providers, and SaaS products.
FIXED_RECURRING
Charges the same amount on every billing interval. Use this for subscription tiers where the price doesn’t change month-to-month — a flat $49/month Pro plan, for example.
USAGE_BASED
Bills subscribers based on recorded usage events. The amount on the plan acts as a per-unit rate or cap. Retempo aggregates usage events attached to the invoice before settlement.
ONE_TIME
A single charge with no recurring component. The billingInterval is automatically set to NONE. Use this for setup fees, one-off API credits, or lifetime access purchases.
To create a payment plan, send a POST request to /api/v1/services/:serviceId/plans. You must supply a name, a pricingType, and an amount. The billingInterval defaults to NONE if omitted, and currency defaults to USDC.Below are three examples covering each pricing type.