Liftbay
API referenceBilling

Start a subscription

POST
/v1/orgs/{org}/billing/checkout

Returns the provider's secure checkout URL. The subscription becomes active when the provider confirms payment.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

Request Body

application/json
  1. body
plan*PlanId
Value in"free""indie""team"

Response Body

OK

application/json
  1. response
checkoutUrl*string
curl -X POST "https://example.com/v1/orgs/string/billing/checkout" \  -H "Content-Type: application/json" \  -d '{    "plan": "free"  }'
{  "checkoutUrl": "string"}