Billing

Summarise a plan switch (amount, item, card) for the confirmation modal.

get/api/v1/billing/change-plan/preview

Request

  • Base URL: https://api.avatarfactory.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.avatarfactory.io/api/v1/billing/change-plan/preview
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Query parameters

planstring required
intervalstring

Response

OK

amount_due_centsinteger required
balance_applied_centsinteger
change_kindstring required
credits_granted_nowinteger
currencystring required
discount_centsinteger
discount_labelstring nullable
effective_atstring nullable
intervalstring required
is_trial_giveupboolean required
list_amount_centsinteger
plan_namestring required
plan_slugstring required

Changes

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