billing

Create Checkout

Create a Stripe Checkout session or modify an existing subscription.

If the organization already has an active subscription, modify it in-place (preventing duplicate subscriptions). Otherwise, create a new checkout session. Only admins can initiate checkout.

post/api/billing/create-checkout-session

Request

  • Base URL: https://api.thebetterhire.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.thebetterhire.ai/api/billing/create-checkout-session
  • Auth: HTTP bearer

Request body

price_idstring required
success_urlstring required
cancel_urlstring required

Response

Successful Response

session_idstring required
checkout_urlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.