billing

Preview Upgrade

Preview proration for changing an existing subscription's plan.

Returns the prorated amount, credit, and net charge so the frontend can show a confirmation dialog before executing the change.

post/v1/billing/preview-upgrade

Request

  • Base URL: https://api.usekeel.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.usekeel.io/v1/billing/preview-upgrade
  • Auth: none declared

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Request body

planstring required
billing_cyclestring

Response

Successful Response

current_planstring required
new_planstring required
billing_cyclestring required
proration_amountinteger required
credit_amountinteger required
amount_dueinteger required
currencystring required
period_endinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.