Read the current billing subscription

View as Markdown
Return sanitized Essential or Pro subscription and entitlement state.

Authentication

AuthorizationBearer

User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key

Response

OK
allowanceobject
cancelAtPeriodEndboolean
entitledboolean
statusenum
tierenum
periodEnddatetime or nullOptional
periodStartdatetime or nullOptional
planenum or nullOptional
Canonical Pro billing plan offered by aVenture.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
406
Not Acceptable Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error