Create a Stripe Billing subscription schedule phase with proration to handle mid-cycle plan upgrades

domain: stripe.com/docs · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Retrieve the existing subscription and confirm its current_period_start and current_period_end
  2. Call POST /v1/subscription_schedules with from_subscription set to the existing subscription ID to convert it to a scheduled subscription
  3. Add a new phase to the schedule starting immediately with the upgraded plan price ID and set proration_behavior to create_prorations
  4. Stripe calculates a proration credit for the unused portion of the current plan and a debit for the new plan; these appear as pending invoice items
  5. Listen for the invoice.upcoming webhook to preview proration amounts and surface them to the customer before the upgrade is confirmed

Known gotchas

Related routes

Create a Stripe subscription with a trial period
stripe.com · 4 steps · 100% success
Build a Stripe Billing subscription schedule with multiple phases to model a trial-to-paid-to-discounted lifecycle
stripe.com · 6 steps · unrated
Handle proration correctly when upgrading or downgrading subscription plans mid-cycle
stripe.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans