> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PaymentSubscription

> A member's subscription to a host's Payment Plan.

**Required scopes:** `read:network`, `host:read:network`, `host:read:network_plans`, `host:write:network_plans` (any one)



**Kind**: `object`

## Implements

- `DatabaseRecord`
- `Node`

## Fields

**`amount`**: `Int!`

The amount the member is billed each period, in cents, after any coupon discount.

---

**`cancelAtPeriodEnd`**: `Boolean!`

Whether the subscription is set to end at the close of the current billing period.

---

**`canceledAt`**: `ISO8601DateTime`

When the subscription was canceled. Null while active.

---

**`completedInstallments`**: `Int`

Number of installment payments made so far. Null for subscriptions that are not paid in installments.

---

**`createdAt`**: `ISO8601DateTime!`

When the subscription record was created.

---

**`currentPeriodEnd`**: `ISO8601DateTime`

When the current billing period ends.

---

**`currentPeriodStart`**: `ISO8601DateTime`

When the current billing period started.

---

**`endedAt`**: `ISO8601DateTime`

When the subscription ended. Null while active.

---

**`gracePeriodDaysLeft`**: `Int`

Days left in the past-due grace period before access is revoked. Null unless past due; zero after the period elapses.

---

**`id`**: `ID!`

ID of the object.

---

**`isFree`**: `Boolean!`

Whether this subscription costs nothing.

---

**`member`**: `Member`

The member who holds this subscription.

---

**`paymentPlatform`**: `PaymentPlatform`

The platform the member paid through. Null for free subscriptions.

---

**`pendingPlan`**: `PaymentPlan`

The Payment Plan a pending move will switch to. Null when no move is pending.

---

**`pendingPrice`**: `PaymentPlanPrice`

The pricing option a pending move will switch to — distinguishes a cadence
change inside the same Payment Plan from a move to another one. Null when no
move is pending.

---

**`plan`**: `PaymentPlan`

The Payment Plan this subscription grants access to.

---

**`price`**: `PaymentPlanPrice`

The pricing option within `plan` (the Payment Plan) the member subscribed to —
its currency, cadence, and list price before any Promo Code discount. Null
when that price point no longer exists.

---

**`resourceId`**: `ID!`

Resource ID for this object, for interop with the Admin API.

---

**`start`**: `ISO8601DateTime`

When the subscription started.

---

**`status`**: `PaymentSubscriptionStatus`

Lifecycle status of the subscription. Briefly null while recovering from an interrupted payment provider sync.

---

**`taxInclusive`**: `Boolean`

Whether the billed amount includes tax. Null when tax inclusivity is not set.

---

**`trialEnd`**: `ISO8601DateTime`

When the free trial ends. Null when there was no trial.

---

**`trialStart`**: `ISO8601DateTime`

When the free trial started. Null when there was no trial.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.