Preview a subscription change
Authentication
Your Dial API key, sent as Authorization: Bearer sk_live_...
Request
Target number count (one unit per phone number). Defaults to the current quantity.
Optional customer-facing promotion code; the preview reflects the discount it produces.
Response
Amount that would be charged today, in USD cents (prorations and discounts included).
Unix timestamp (seconds) the proration was calculated as of. Pass it back as prorationDate to the change endpoint to charge exactly this quoted amount.
Total discount applied by the coupon, in USD cents (0 when no coupon or no effect).
The invoice preview line items (proration credits appear as negatives).