billing

Create Subscription

Create a new subscription checkout session.

No pre-existing Stripe Price object is required — the Checkout Session is built with inline price_data (see StripeClient. create_subscription_checkout_session), the same approach already used for one-time PAYG purchases.

Currency is resolved SERVER-SIDE from the caller's brand (never from the request body, which has no currency field at all) so the amount shown on the pricing page and the amount Stripe charges can never diverge.

post/billing/subscription/create

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

payment_plan_idstring uuid required
success_urlstring required
cancel_urlstring required
seatsinteger

Response

Successful Response

checkout_urlstring required
session_idstring required

Changes

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