List Memberships
Lists every membership the caller can read: an account API key its account’s; a user credential their own plus those of every account they manage. account_id and user_id only narrow that list — values outside the caller’s reach return fewer results, not an error.
Autorisationer
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Forespørgselsparametre
Filter by billing state. trialing, active, past_due, completed, canceled, and expired match the membership's status; active, trialing, and past_due exclude memberships set to cancel at period end. The other values are derived buckets that never appear as a status: canceling matches memberships set to cancel at period end; paused matches memberships with payment collection paused; expiring matches one-time purchases that have not yet expired; one_time matches one-time purchases that never expire; unclaimed matches memberships with no buyer user, including memberships bought by another business; banned matches memberships whose buyer is banned from the account.
active, trialing, past_due, completed, canceled, expired, canceling, paused, expiring, one_time, unclaimed, banned Filter to memberships matching any of these billing states, with the same meanings as status. Repeat the parameter to pass several. Combined with status when both are sent.
active, trialing, past_due, completed, canceled, expired, canceling, paused, expiring, one_time, unclaimed, banned 
