Skip to content

PortalView

Defined in: src/server/routes.ts:154

GET /api/portal/me.

Property Type Description Inherited from Defined in
addons object[] - EntitlementSet.addons src/schema.ts:196
canCheckout boolean A billing provider with createCheckout is configured (and the token allows it). - src/server/routes.ts:159
canManage boolean … with createPortalSession. - src/server/routes.ts:161
customer string - EntitlementSet.customer src/schema.ts:194
features Record<string, FeatureUsage> - CustomerEntitlements.features src/schema.ts:276
inactive object[] Subscriptions that are not entitled right now (inactive, expired trial, conflicts). EntitlementSet.inactive src/schema.ts:199
plans ActivePlan[] - EntitlementSet.plans src/schema.ts:195
pricing PricingTable Public pricing (hidden plans excluded). - src/server/routes.ts:157
profile object - - src/server/routes.ts:155
profile.email? string - - src/server/routes.ts:155
profile.id string - - src/server/routes.ts:155
profile.name? string - - src/server/routes.ts:155
resolvedAt string - EntitlementSet.resolvedAt src/schema.ts:202
stale? boolean - CustomerEntitlements.stale src/schema.ts:277
validUntil string | null ISO time at which this resolution may change (trial end, expiry, period end). EntitlementSet.validUntil src/schema.ts:201