Billing
4 endpoints
GET /billing/plans
List Plans
List available subscription plans. Public endpoint.
Response:
`any`POST /billing/checkout
Checkout
Start a subscription checkout. Returns a URL to complete payment.
After payment, poll GET /billing/status/{org_id} to confirm activation.
Parameters:
| Name | In | Required | Description |
|---|---|---|---|
authorization | header | No | — |
Request body:
{
organization_id: `string`
plan?: `"pro"`
success_url?: `string` | `null`
cancel_url?: `string` | `null`
}Response:
`any`GET /billing/status/\{org_id\}
Billing Status
Check subscription status for an organization.
Parameters:
| Name | In | Required | Description |
|---|---|---|---|
org_id | path | Yes | — |
authorization | header | No | — |
Response:
`any`GET /billing/portal/\{org_id\}
Billing Portal
Get a URL to the Stripe billing portal to manage an existing subscription.
Parameters:
| Name | In | Required | Description |
|---|---|---|---|
org_id | path | Yes | — |
authorization | header | No | — |
Response:
`any`Last updated on