Pro: $29 a month, or $290 a year. 1,000 credits a month either way.Offer a yearly price, collected up front, while customers’ credits and allowances still refresh every month and overage bills as it happens. An annual plan is a plan with
billingInterval: "year" and its price per year in priceCents. Customers pay once a year, through Checkout or a saved card, and Stripe renews the plan a year later. It’s its own plan, beside the monthly one: the monthly/annual toggle on your pricing page attaches one plan or the other.
The catalog
The allowance still resets monthly
resetInterval decides how often monthlyCredits and metered items are granted:
month(the default): the year’s invoice grants the first month. Each later month is granted by the firstcheckortrackin it, in full, and unused credits end with their month, as on a monthly plan. A customer who makes no request in a month gets no grant for it, and loses nothing, since that month’s credits would have ended with it. Months are counted from the start of the year the way Stripe counts them (a year starting on Jan 31 resets on Feb 28, then Mar 31), and the twelfth ends exactly on the renewal.year: the allowance is granted once for the whole year, as given:monthlyCredits: 1000grants 1,000 credits, not 12,000. Set it to the year’s total.
What check and track return
The same as on the monthly plan. A metered feature’sbalance.resetsAt is the end of the current month on resetInterval: "month", and the end of the year on year.
Overage, billed monthly
An annual plan that resets monthly can bill overage, credit or metered. It’s billed every month, not at the yearly renewal. Each month’s overage counts against its own month: the cap,overage.costCents and overage.remainingCents start again with each month’s allowance.
When a month ends, Ledger puts its overage on an invoice of its own, one per subscription and month, such as “Pro (annual) – overage, 1,500 credits”, and charges the saved card. The year’s last month goes on the renewal invoice, beside the next year’s price. Storage bills the month’s GB-months on the same invoice.
Rules
- Price it with
priceCents. An annual plan takes the year’s price inpriceCents;monthlyPriceCentsgoes on monthly plans (monthly_price_cents_interval_mismatch). - Annual plans are paid.
billingInterval: "year"goes on a plan that bills something; a free plan has no billing interval. - A plan resets at least as often as it bills. A monthly plan resets monthly (
reset_longer_than_billing). - Overage and storage go on plans that reset monthly. An annual plan with overage (
annual_overage_not_supported) or a measured price (annual_measured_not_supported) setsresetInterval: "month", so each month’s usage bills when the month ends. - Monthly to annual is an upgrade, whatever the price: the year is charged in full now, the year starts from the upgrade, and the first month is granted at once. The old plan’s credits stay until they expire, as for any upgrade.
- Annual to monthly is a downgrade at the year’s end (
timing: "period_end"). Monthly grants carry on until the year ends; then the monthly plan renews. Stripe restarts the billing cycle when the interval changes, so an immediate downgrade to a monthly plan returns400 interval_change_at_period_end. - Between two annual plans, an immediate downgrade with
refund: "prorated"refunds the price difference times the unused share of the year. The cheaper plan’s allowance runs to the end of the current month, and the next month is granted in full. - Cancelling now ends the current month’s credits at once.
Related
- Lifetime plans: paid once, never renewed.
- Upgrades and downgrades: every plan change.
- Renewals and lifecycle: what happens at renewal and when a payment fails.