billing
billing

Create Checkout Session

Create a Stripe Checkout session for subscribing to a plan.

For workspace-level billing (billing_mode='workspace'), the subscription will be linked to the workspace and shared by all members.

post/api/billing/checkout

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/billing/checkout
  • Auth: none declared

Request body

plan_idstring required
success_urlstring nullable
cancel_urlstring nullable
workspace_idinteger nullable

Response

Successful Response

session_idstring required
urlstring required

Changes

No recorded changes to this operation across all 5 revisions of this API.