billing
billing-checkout
Purchase Single Design
PAYG: one or more tech packs, priced from the payg PaymentPlan row (the same catalog GET /billing/plans reads from) rather than a hard-coded Stripe Price ID, plus optional add-on line items (STRIPE_PAYG_ADDON_*, still price-ID based).
quantity is the number of packs. Stripe is charged unit price × quantity and the webhook grants quota × quantity credits.
Add-ons are stored in session metadata (payg_addons) for auditing.
post/billing/purchase-single
Request
- Base URLhttps://api.threadchain.pro (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL: auth/token
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.