Call this endpoint before confirming a subscription change — use the returned difference.total to see the exact amount you will be charged today, including tax, before you confirm.
Common use cases:
- Plan upgrade preview — See exactly what you will be charged today when upgrading from Starter to Basic mid-cycle, including the unused credit from your current subscription offset against the new subscription cost.
- Add-on cost estimation — Calculate how much adding SMS credits or extra seats will cost for the remainder of your current billing period before you confirm the purchase.
- Tax-inclusive pricing display — Use difference.tax.percent and difference.tax.amount to see a fully itemized breakdown including your applicable tax rate, which varies by your billing region.
- Yearly vs monthly comparison — Call this endpoint twice with different plan_product_id values (monthly vs yearly variant) to compare costs side by side before you commit.
- Downgrade credit display — When switching to a lower subscription, data.plans.current.amount will be negative — this is a credit you receive for unused time on your current plan.
Authorization: Bearer YOUR_TOKEN
Expected Behavior:
- On success, you receive a full proration breakdown: your current plan credit, new plan charge, any add-on charges, and the net total with tax.
- add_ons will be null if you did not include add-ons in your request.
- If your request fails, an appropriate error message will be returned.