billing
billing-checkout

Create Checkout

Create a Stripe Checkout session for any plan type.

Catalog slugs (payg, sub-1-monthly, sub-2-annual, …) and payment_plans.id UUIDs resolve through the PaymentPlan table with inline price_data. Legacy Price-ID slugs stay on _PLAN_MAP. Enterprise is not self-serve.

Only org owners/admins may initiate. Team members get a 403.

post/billing/checkout

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

plan_typestring required

Catalog slug (payg, sub-1-monthly, sub-2-annual, …), a payment_plan UUID, or a legacy Price-ID slug (startup-monthly, solo-monthly, credit-topup).

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.