#Mathieu Ducrot.subscription-proration
1 messages · Page 1 of 1 (latest)
Hey! You can pass proration_behaviour on creation, yes: https://stripe.com/docs/api/subscriptions/create#create_subscription-proration_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What's the use case?
i wanted to know if i pass it to always_invoice on creation will it stay this way on update if i don't mention proration_behavior ?
always_invoice isn't a valid option for the parameter on creation
So if you wanted to always invoice for prorations when updating the subscription, you'd need to pass that parameter. Otherwise they'd only be invoiced for in certain scenarios: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment
ok thanks for the info 👍