#frallain
1 messages · Page 1 of 1 (latest)
You'd pass both the subscription and subscription_items parameters I believe
OK, in fact I had a look at the HTTP calls sent to https://dashboard.stripe.com/v1/invoices/upcoming when in the subscription update menu in the Stripe UI, it gave me exactly the call params I wanted to check
Is it possible to get the detailed calculus?
something like how is the amount is calculated
e.g. -400 + 15/31*400 + 16/31*1000 when going from a $400 plan to a $1000 plan exactly at the end of the 15th days of a monthly billing cycle of 31 days
You can learn more about how prorations work here: https://stripe.com/docs/billing/subscriptions/prorations
So I guess it is not possible to get the detailed calculus in the HTTP response of endpointhttps://dashboard.stripe.com/v1/invoices/upcoming ?
You should get all the different lines in the response, like shown in the dashboard https://stripe.com/docs/api/invoices/object#invoice_object-lines
OK, so I guess it's a no