v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBbilling
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