latestOpenAPI 3.1.02026-08-19270462702.4 KB
b92f75fd3b61
billing
Start a credit purchase via Stripe Checkout
Create a Stripe Checkout session for a one-time credit purchase.
Credits are not granted here — the user is redirected to Stripe's hosted checkout, and the checkout.session.completed webhook applies the credits to the team's paid balance once payment is confirmed.
Requires MANAGE_BILLING (owner, admin, or billing role).
post/billing/team/{team_id}/purchase-credits
Path parameters
team_idstring required
Request body
Response
Successful Response