v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBSubscribe To Plan
Subscribe to a paid plan via Stripe Checkout.
Creates a Stripe Checkout Session in subscription mode. After payment, the organization's account_type is updated via webhook.
If the organization already has an active subscription, the plan is changed inline (upgrade/downgrade with proration) instead of creating a new checkout session.
Available Plans (tier minimum is a billing floor; usage above it bills automatically):
- managed_build: Managed Mixpeek Build — $25/mo min, 100K objects/mo
- managed_scale: Managed Mixpeek Scale — $250/mo min, 1M objects/mo
- mvs_build: MVS Standalone Build — $25/mo min, 1M vectors
- mvs_scale: MVS Standalone Scale — $250/mo min, 25M vectors
Discounts: each non-empty onboarding_answers field takes $5 off the first invoice (max $10). An explicit promo_code is validated and pre-applied; when both are sent the promo takes checkout's single discount slot and the onboarding credit lands on the customer balance. Without either, Stripe's own promo-code field is enabled at checkout.
Request body
Example request
{
"plan": "managed_build"
}Response
Successful Response
Example response
{
"checkout_url": "https://checkout.stripe.com/c/pay/cs_live_abc123",
"session_id": "cs_live_abc123"
}