#Alakazam
1 messages · Page 1 of 1 (latest)
Hi
upsells are for Checkout Session:
https://stripe.com/docs/payments/checkout/upsells
i understood , is there any api to get how much discount on upsells of a particular price id when we switch to the plan ?
There is no direct API for that. However, not sure if this helps, there is invoice upcoming API, it previews the upcoming invoice (with updates in case you want to display your customer a preview before doing the update)
https://stripe.com/docs/api/invoices/upcoming
okey understood