v1

latestOpenAPI 3.1.02026-08-0413468163.9 KB
v1-billing

Create Subscription Endpoint

Create a self-serve subscription via Autumn (Stripe Checkout when needed).

Owner-only. Allowed plans are limited to SELF_SERVE_PLAN_IDS.

post/v1/orgs/{org_id}/billing/subscriptions

Path parameters

org_idstring required

Request body

plan_idstring required
success_urlstring nullable

Response

Successful Response

{"stackTrail":"paths:/v1/orgs/{org_id}/billing/subscriptions:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}