id | string | | Provider subscription id. Stable across refreshes. |
name | string | | Product name (Amazon Prime, Spotify Premium). |
status | string | ✓ | Lifecycle status in the provider’s vocabulary: active, cancelled, paused, trial, past_due, former_member. Map to your own state machine. |
typeId | string | | Provider-stable plan identifier (standard-ads, premium). Join key against availablePlans[].id. |
description | string | | Human-readable plan name (Standard with ads, Amazon Prime). |
amount | string | | Provider-formatted price for the current plan. |
billingCycle | string | | Billing period (monthly, yearly). Free-form. |
renewalDate | date | | Next renewal or charge date. Absent once cancelled. |
cancellationDate | date | | Date the subscription ended or will end. |
freeTrial | boolean | | Currently in a promotional or free-trial period. Absent when the provider doesn’t distinguish. |
availablePlans | array<object> | | Plans the account can switch to right now. Empty when the provider exposes no plan menu. See below. |
usage | object | | Consumption-vs-limit snapshot for quota plans (seats, storage, streams). See below. |
pendingCancel | object | | { isPending, startDate } — a scheduled cancellation that hasn’t taken effect. startDate is when it becomes effective. |
pendingPause | object | | { isPending, endDate } — a scheduled pause. Omitted by providers without pause. |
pendingPlanChange | object | | { isPending, typeId, description, amount, startDate } — a scheduled plan switch. |
paymentMethod | object | | { description, brand, lastFour } — the instrument the subscription bills to. description is required (Visa ending in 1234). |
paymentHistory | array<object> | | { date, amount } past charges, most-recent first. |
providedBy | string | | Another plan or partner that includes or pays for this subscription (Google One, Verizon). The user isn’t billed for it directly; amount is their own cost when given. |
billedThrough | string | | Platform that collects the payment when it isn’t the provider (Google Play, Apple, a carrier). Where a cancel or card change happens. |
manageUrl | string | | Page where the user manages the subscription. |