Skip to main content
A free plan is a plan with monthlyPriceCents: 0. It never touches Stripe: attaching it starts it at once, without Checkout, and Ledger renews it every month at the same time of day it started.
ledger.config.ts

Start it on signup

Attach it when the customer is created, as in Setup:
The response is { "subscriptionId": 1, "status": "active" }, and the credits are available straight away. Free plans work in Live as soon as you have a Live key, before live billing is activated.

Move to a paid plan

Attach the paid plan and send the customer to Checkout, as in Display billing. They keep the free plan and its credits while Checkout is open. When Stripe confirms the payment, the free plan ends, its unspent credits expire, and the paid allowance begins. Pack credits stay. If they abandon Checkout, nothing changes. When a paid plan ends, the customer has no plan until you attach one. Attach the free plan again to give them their allowance back.