See what a subscription change will cost before you apply it, so you can show your customer the amount before they confirm an upgrade, a plan switch or a seat change.
Today the amount of an immediate, prorated update is only known once the update has been made. The scheduledUpdate on a subscription shows the new plan, price, quantity and start date of a scheduled change, but no amount.
We are still working out the best shape. Options we are looking at:
- A separate preview call that takes the same input as
PATCH /subscriptions/{subscriptionId}and returns the amounts without changing anything: the charge for the new plan over the remaining time, the credit for the old plan, the net amount, and whether it is charged now or at the next renewal. - More amounts on the subscription itself, for example a pending proration amount that will be billed at the next renewal, or the amount of a scheduled update.
- With or without taxes. A preview could return amounts before taxes only, or include the tax for this customer and the total.
Prorating is calculated per second, so an amount shown now can differ by a cent or so from the update made a little later. How exact a preview needs to be is part of the design.
Tell us how you would use this: a vote or comment helps us choose.