Skip to Content
BlitzPulse docs are live. Looking for Blitz Global? Visit https://blitzglobalcapital.com.
Api ReferenceBilling API

Billing API

Auto-generated from openapi-snapshot.json. Do not edit by hand — changes are overwritten by scripts/docs/generate_api_reference.py.

6 endpoints in this group.

POST /api/billing/checkout

Create Checkout

Request body: application/json

Responses

CodeDescription
200Successful Response
422Validation Error

GET /api/billing/limits

Get Limits

Parameters

NameInTypeRequiredDescription
tenant_idqueryoptional

Responses

CodeDescription
200Successful Response
422Validation Error

GET /api/billing/plans

Get Plans

Parameters

NameInTypeRequiredDescription
publicquerybooleanoptional

Responses

CodeDescription
200Successful Response
422Validation Error

POST /api/billing/portal

Create Portal

Request body: application/json

Responses

CodeDescription
200Successful Response
422Validation Error

GET /api/billing/subscription

Get Subscription

Return the tenant’s current subscription envelope the web app expects.

Canonical source is active tenant_subscriptions joined to plans, with legacy users.plan_code and free fallbacks handled by the effective access resolver.

Parameters

NameInTypeRequiredDescription
tenant_idqueryoptional

Responses

CodeDescription
200Successful Response
422Validation Error

POST /api/billing/webhook

Stripe Webhook

Parameters

NameInTypeRequiredDescription
Stripe-Signatureheaderoptional

Responses

CodeDescription
200Successful Response
422Validation Error