Create Stripe checkout session

以 Markdown 格式查看

Creates a Stripe Checkout Session URL for new subscription. Owner/billing_admin only. Returns the redirect URL.

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

请求

tier, billing_period, email

billing_periodstring可选
emailstring可选
workspace billing email, required when no existing Stripe customer
tierstring可选

响应

OK
urlstring

错误

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error