Billing

Switch a live subscription to another plan/interval (charges card on file).

post/api/v1/billing/change-plan

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
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Request body

intervalstring
planstring required

Response

OK

can_create_sceneboolean
can_create_videoboolean
cancel_at_period_endboolean
current_period_endstring nullable
has_subscriptionboolean required
influencer_addonboolean
intervalstring nullable
is_trialingboolean
meta_purchase_currencystring nullable
meta_purchase_event_idstring nullable
meta_purchase_valuenumber nullable
meta_trial_event_idstring nullable
paused_untilstring nullable
pending_effective_atstring nullable
pending_intervalstring nullable
pending_plan_slugstring nullable
plan_slugstring nullable
statusstring nullable
trial_endstring nullable
trial_video_usedboolean

Changes

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