# RecurringBillingSubscriptionPlanDiscount

Object · GraphQL API

The global template for a recurring billing subscription plan discount.

## Fields

- `id` (`ID!`) — non-null: The discount identifier.
- `legacyId` (`ID!`) — non-null: The legacy discount identifier.
- `name` (`String!`) — non-null: The name of the discount.
- `description` (`String`): A description of the discount.
- `amount` (`Amount!`) — non-null: The discount amount.
- `numberOfBillingCycles` (`Int`): The number of billing cycles to execute. A value of 0 indicates it never expires.
- `createdAt` (`Timestamp`): The date/time the discount was created.
- `updatedAt` (`Timestamp`): The date/time the discount was last updated.

## Used by

- [Node](/braintree/graphql/reference/types/node) — Interface; Possible type
- [RecurringBillingSubscriptionPlan](/braintree/graphql/reference/types/recurring-billing-subscription-plan) — Object; discounts
- [RecurringBillingSubscriptionPlanDiscountPayload](/braintree/graphql/reference/types/recurring-billing-subscription-plan-discount-payload) — Object; discount
- [RecurringBillingSubscriptionPlanDiscountsPayload](/braintree/graphql/reference/types/recurring-billing-subscription-plan-discounts-payload) — Object; discounts

## GraphQL definition

```graphql
type RecurringBillingSubscriptionPlanDiscount implements Node {
  id: ID!
  legacyId: ID!
  name: String!
  description: String
  amount: Amount!
  numberOfBillingCycles: Int
  createdAt: Timestamp
  updatedAt: Timestamp
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)