Browse/Stripe/Subscription Upgrade Flow
Subscription Upgrade Flow
Stripe
$19 · Pro
Prorate and upgrade a customer to a higher pricing tier.
upgrade_subscription.py
stripe.Subscription.modify(sub_id, items=[{...}])
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.
Subscription Upgrade Flow — Stripe Example (Python) | apiexamples