Get subscription
Your current subscription, its status/period, recent events, and the purchasable plans.
Response fields
| Field | Type | Description |
|---|---|---|
plan | string | Your active plan (entitlements). |
subscription | object | { plan, status, amountUsdc, currentPeriodEnd, graceUntil, cancelAtPeriodEnd, failedAttempts } or null. |
events[] | array | Recent lifecycle events (created/activated/renewal_*/canceled/downgraded). |
plans[] | array | Purchasable plans with their USDC price. |