billing

Activate Trial

Start a Stripe-backed trial for the plan the user chose.

Returns a Checkout URL (mode="subscription", subscription_data. trial_period_days=settings.trial_duration_days, payment_method_collection ="always") — the card is collected up front and Stripe auto-bills the same plan when the trial ends. The org/Subscription trial fields are set by the Stripe webhook once checkout completes, not here.

post/billing/trial/activate

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

trial_plan_idstring uuid required
success_urlstring nullable
cancel_urlstring nullable

Response

Successful Response

checkout_urlstring required
session_idstring required

Changes

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