Acme on Enterprise: $2,500 a month, 200,000 credits, 100,000 messages and then 1 cent each, no audit logs.Custom plans turn a negotiated deal into billing in one call. Attach a plan with
customize, and Ledger makes that customer’s own version of it, with their price, credits, items or overage, and starts it. Check, track, reservations, renewals and invoices treat it as any version of the plan, and the customer sees the plan’s name on Checkout and every invoice.
Attach with custom terms
active when Ledger charged the saved card.
Everything else is the plan’s: its name, interval, the items you don’t name, its group and its controls.
How it behaves
- Billed and granted their terms, every period, under the plan’s name: Checkout and invoices show “Enterprise”.
- One version per deal. The same
customizefor the same customer reuses their custom version. - Stripe stays tidy. A
customizethat keeps the plan’s price reuses the plan’s Stripe Price, so a credits-only deal creates nothing in Stripe. A new price gets a Stripe Price of its own under the plan’s Product. - Visible on the customer.
GET /v1/customersshowscurrentPlan.custom: trueandbasePlan, the catalog version it was made from. - Private. It stays out of the catalog,
GET /v1/plansand the plan’s versions, and migrations of the plan leave it alone.
Plans only for custom deals
Give a plancustomOnly: true for an Enterprise plan that only sales sells: attaching it needs customize, and a plain attach answers 422 plan_requires_customize before anything reaches Stripe. It applies to every version of the plan, in place.
ledger.catalog.json
Change a customer’s terms
Renegotiate in place withPOST /v1/customers/subscriptions/{id}/plan: the new customize is patched over the subscription’s current terms.
Response
timing: "at_renewal": nothing changes now, and the next period bills and grants the new terms (status: "scheduled").timing: "now": the new terms start at once, with no proration and no charge (status: "applied"). The period’s allowance is the new one less what it already used, and the renewal bills the new price.
id from List customer subscriptions.
Rules
- Plan rules apply. The custom terms must pass the same rules as a plan in the catalog:
400 invalid_customize, with each problem undercustomize.inissues. - Take a feature away with
removeItems, not withincluded: 0. - One change at a time. A subscription with another plan change open answers
409 pending_change; one that’s trialing, waiting on a payment or billed another way answers409 subscription_not_movable. customOnlyis policy. It applies to every version in place, with no new version.
Related
- Overrides: one customer’s overage cap, rate or controls on the plan they already have.
- Plan versions: change a plan for everyone on it.
- Checkout and attach: how a plan starts.