v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
billing

Upgrade Team Plan

Upgrade a team's plan directly without Stripe Checkout.

Requires the team to already have a payment method on file. Creates a Stripe subscription for the target plan price. Optionally applies a promotion code.

post/billing/team/{team_id}/upgrade-plan

Path parameters

team_idstring required

Request body

plan'pro' | 'enterprise' required

Target plan to upgrade to

promotion_codestring nullable

Optional Stripe promotion code to apply

Response

Successful Response

successboolean required
planstring required
messagestring required