v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
billing

Public Checkout

Create a Stripe Checkout session without requiring authentication.

Designed for shareable checkout links (/checkout/pro, /checkout/enterprise) where the user pays before creating a Pioneer account.

Rate-limited to 10 requests per IP per minute since the endpoint is unauthenticated and each call creates a Stripe Checkout Session. Captcha verification required in non-local environments.

Args: request: FastAPI request (required by SlowAPI rate limiter). body: Plan, redirect URLs, and optional email.

Returns: Stripe-hosted checkout URL.

post/billing/public-checkout

Request body

plan'pro' | 'enterprise' required

Target plan to subscribe to

success_urlstring required

URL to redirect to after successful payment

cancel_urlstring required

URL to redirect to if user cancels

emailstring email nullable

Email address to pre-fill in Stripe checkout

captcha_tokenstring nullable

hCaptcha response token for bot verification

Response

Successful Response

successboolean required
checkout_urlstring nullable
messagestring required