curl https://api.stripe.com/v1/customers/{{customer id}}/subscriptions/{{subscription id}} -u {{api key}}: -d plan=planB -d billing_cycle_anchor=now
You can also pass prorate=false to that
Hi all,I wanted to confirm that in order to reset the billing cycle after swapping plans, the old plan to be cancelled and the new plan added (and therefore a new subscription_id generated). It appears simply swapping the old plan to the new plan maintains the billing cycle.
--
You received this message because you are subscribed to the Google Groups "Stripe API Discussion" group.
To post to this group, send email to api-d...@lists.stripe.com.
Visit this group at http://groups.google.com/a/lists.stripe.com/group/api-discuss/.
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.