Billing

Create the trial subscription once the upfront intent is confirmed.

post/api/v1/billing/checkout/finalize

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

Request body

intent_idstring required
intervalstring
modestring
planstring required
promotion_codestring nullable
source'ads_funnel' nullable
terms_acceptedboolean

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.