> ## 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.

# PaymentCoupon

> A Promo Code: a discount a Host offers on its Payment Plans.



**Kind**: `object`

## Implements

- `DatabaseRecord`
- `Node`

## Fields

**`amountOff`**: `[PaymentCouponAmountOff!]!`

Per-currency fixed discounts. Empty for percentage Promo Codes.

---

**`code`**: `String!`

The code a member enters to redeem the discount.

---

**`couponType`**: `PaymentCouponDiscountType!`

Whether the discount is a percentage or a fixed amount off.

---

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

When the Promo Code was created.

---

**`description`**: `String`

Host-facing description of the Promo Code. Plain text.

---

**`duration`**: `PaymentCouponDuration!`

How long the discount applies: once, forever, or repeating.

---

**`durationInMonths`**: `Int`

Number of months a repeating discount applies. Null unless duration is repeating.

---

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

ID of the object.

---

**`percentageOff`**: `Int`

Percent off the plan price (0-100). Null for amount-off Promo Codes.

---

**`plans`**: `[PaymentPlan!]!`

Payment Plans the Promo Code is restricted to. Empty when it applies to every plan.

---

**`redemptions`**: `PaymentCouponRedemptionConnection!`

Redemptions of this Promo Code, oldest first. Empty for non-host viewers.

**Arguments:**

- `after`: `String` — Returns the elements in the list that come after the specified cursor.
- `before`: `String` — Returns the elements in the list that come before the specified cursor.
- `first`: `Int` — Returns the first _n_ elements from the list.
- `last`: `Int` — Returns the last _n_ elements from the list.
- `term`: `String` — Filter by a case-insensitive substring match on the Payment Plan name or the member's first or last name.

---

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

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

---

**`status`**: `PaymentCouponStatus!`

Whether the Promo Code is active or inactive.

---

**`timesRedeemed`**: `Int`

How many times the Promo Code has been redeemed. Null until first computed.

---

**`updatedAt`**: `ISO8601DateTime!`

When the Promo Code was last updated.



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