Example
An AI platform lets users buy 500 credits for $10 as a one-time purchase. The credits never expire and can be used at any pace.
Setting up
- CLI
- Dashboard
Set the plan’s Push changes with
price.interval to one_off, or omit interval on the item price for a one-time charge:autumn.config.ts
atmn push.How it works
When a customer purchases a one-off plan:- Autumn creates a Stripe invoice (not a subscription) and charges it immediately
- The feature balance is provisioned with the purchased quantity
- The balance has a
one_offinterval — it never resets or expires
One-off purchases don’t create Stripe subscriptions. They generate a one-time invoice instead.
Purchasing a one-off plan
For prepaid one-off plans, pass the desiredquantity via the options array:
One-off prices within a subscription
A subscription plan can include both recurring and one-off prices. When it does, Autumn splits them at checkout:- Recurring prices bill every cycle as part of the Stripe subscription
- One-off prices are charged once on the first invoice only
Example
A Pro plan charges $20/month plus a one-time $50 setup fee. The customer’s first invoice is $70, and subsequent invoices are $20.
- CLI
- Dashboard
Add a non-consumable feature for the setup fee, then include it as a separate one-off item alongside the recurring base price:When you attach the plan, you can select a quantity for the setup fee. The $20/month base price recurs on every invoice. The setup fee item is charged once on the first invoice only.
autumn.config.ts
Balance stacking
One-off balances stack with existing balances from subscriptions. Autumn uses deduction order to ensure shorter-interval balances (e.g., monthly) are used before one-off (lifetime) balances.Use cases
| Use case | Configuration |
|---|---|
| Credit top-up | Prepaid price, add-on, no base price |
| Lifetime plan | One-off base price, features with no reset |
| One-time fee | One-off base price, no features |
| Setup fee + subscription | Recurring base price, one-off item price on same plan |

