List user-subscription-enrollments
GET /user-subscription-enrollments
F3.USERPLAN.01 — one enrollment per user (oneToOne), tracks the user’s personal User Plan lifecycle (trial → active/free → cancelled). Auto-created on user registration (see src/lifecycles/user-kc-sync.ts).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Strapi REST filter syntax
object
Responses
Section titled “ Responses ”OK
object
object
Convention: user-${userId}, symmetric to the existing org-${orgId} convention (see billing-adapter.ts / checkout.ts).
F3.USERPLAN.04 — 7-day JWT (mirrors organisation-member.invitation_token) proving the sponsor invited THIS beneficiary. Set on POST /:sponsorId/sponsor, cleared once accepted (or replaced by a new invite).
F3.USERPLAN.04 — set while a sponsorship invitation is outstanding (not yet accepted by the beneficiary): { sponsorId, sponsorEnrollmentId, tierId, beneficiaryEmail, invitedAt }. Cleared on accept (sponsor/plan/status become authoritative) or on a fresh re-invite.
F3.USERPLAN.04 — id of the Stripe subscription item added to the SPONSOR’s existing subscription for this beneficiary (stripe.subscriptionItems). Required to remove exactly this line item on revoke without touching the sponsor’s own base plan item or other beneficiaries’ items.
object
object
Missing or invalid authentication
Not authorized (tenant scope or capability)