API referenceBilling
Start a subscription
POST
Returns the provider's secure checkout URL. The subscription becomes active when the provider confirms payment.
cookie
lb_session<token>Dashboard session cookie, set by the sign-in endpoints.
org*stringOrganization slug
application/json- body
plan*PlanIdValue in
"free""indie""team"OK
application/json- response
checkoutUrl*stringcurl -X POST "https://example.com/v1/orgs/string/billing/checkout" \ -H "Content-Type: application/json" \ -d '{ "plan": "free" }'{ "checkoutUrl": "string"}