Skip to content

Legacy Entitlements

Read the current billing decision for an app user.

Legacy (v1) API. This page describes the Stripe-first legacy API. It stays supported for existing integrations but is frozen: new features ship only in v2. Prefer v2 for new work: Entitlements.

GET /api/billstack/teams/{teamId}/projects/{projectId}/entitlements/by-external-id/{externalId}

Auth

Private API key.

Response

{
  "plan": "pro",
  "tier": "pro",
  "status": "active",
  "provider": "stripe",
  "cycle": "annual",
  "source": "subscription",
  "isEntitled": true,
  "currentPeriodStart": "2026-06-01T00:00:00.000Z",
  "currentPeriodEnd": "2027-06-01T00:00:00.000Z",
  "trialEndsAt": null,
  "bonusEndsAt": null,
  "limits": {},
  "enabledFeatures": [],
  "updatedAt": "2026-06-01T00:00:00.000Z",
  "version": 1
}

Errors

Returns 404 when BillStack cannot resolve an entitlement for the external ID.

Apps should treat this as a free or not-entitled state unless their product policy says otherwise.