billing

Preview Change Subscription Plan

Preview the proration Stripe would charge for an immediate upgrade.

post/billing/subscription/change-plan/preview

Request

  • Base URL
    https://api.threadchain.pro (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Request body

new_payment_plan_idstring uuid required
prorateboolean

Response

Successful Response

currencystring required
current_plan_idstring uuid required
current_plan_namestring required
new_plan_idstring uuid required
new_plan_namestring required
credit_amountinteger required
charge_amountinteger required
amount_due_nowinteger required
amount_due_now_displaystring required
days_leftinteger
days_in_periodinteger
next_billing_datestring date-time required
next_billing_amountinteger required
next_billing_amount_displaystring required
card_brandstring nullable
card_last4string nullable
scheduledboolean
seatsinteger

Changes

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