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

# getPaywall

> Get paywall by plan ID



**query** `getPaywall(input: GetPaywallInput!): [Plan!]!`

> Deprecated: Deprecated query, use paywall query instead

## Arguments

**`input`**: `GetPaywallInput!` (required)

Input for fetching the paywall

## Returns

`[Plan!]!`

**`additionalMetaData`**: `JSON`

The additional meta data of the package

---

**`awsMarketplacePlanDimension`**: `String`

The AWS Marketplace plan dimension, if applicable

---

**`basePlan`**: `Plan`

---

**`billingId`**: `String`

The unique identifier for the entity in the billing provider

---

**`billingLinkUrl`**: `String`

The billing link url of the package

---

**`compatibleAddons`**: `[Addon!]`

---

**`compatiblePackageGroups`**: `[PlanCompatiblePackageGroups!]`

List of compatible package groups for the plan

---

**`createdAt`**: `DateTime`

Timestamp of when the record was created

---

**`defaultTrialConfig`**: `DefaultTrialConfig`

Default trial configuration for the plan. When set, subscriptions provisioned on this plan without explicit trial settings automatically start in trial for the configured duration; leave unset for no automatic trial.

---

**`description`**: `String`

The description of the package

---

**`displayName`**: `String!`

The display name of the package

---

**`draftDetails`**: `PackageDraftDetails`

Detailed information about the plan draft

---

**`draftSummary`**: `PackageDraftSummary`

Summary of the plan draft

---

**`entitlements`**: `[PackageEntitlement!]`

List of entitlements for the plan

> Deprecated: Use 'packageEntitlements' field instead

---

**`environment`**: `Environment!`

---

**`environmentId`**: `UUID!`

The unique identifier for the environment

---

**`hiddenFromWidgets`**: `[WidgetType!]`

List of hidden widgets of the package

---

**`id`**: `UUID!`

Unique identifier for the entity

---

**`inheritedEntitlements`**: `[PackageEntitlement!]`

List of inherited entitlements for the plan

> Deprecated: Use 'inheritedPackageEntitlements' field instead

**Arguments:**

- `includeOverridden`: `Boolean` = false — Indicates if inherited entitlements include overridden entitlements

---

**`inheritedPackageEntitlements`**: `[PackageEntitlementUnion!]`

List of inherited entitlements for the plan

**Arguments:**

- `includeOverridden`: `Boolean` = false — Indicates if inherited entitlements include overridden entitlements

---

**`isLatest`**: `Boolean`

Indicates if the package is the latest version

---

**`isParent`**: `Boolean!`

Indicates if the plan is a parent plan

---

**`minimumSpend`**: `[MinimumSpend!]`

Minimum spend configuration

---

**`offer`**: `Offer`

---

**`overageBillingPeriod`**: `OverageBillingPeriod`

The overage billing period of the package

---

**`overagePrices`**: `[Price!]`

List of overage prices for the plan

> Deprecated: Overages are now modeled as usage-based prices (Price with isOverage = true). They are excluded from `prices` and reported here, unioned with any legacy overage prices. This field is retained for backward compatibility.

---

**`packageEntitlements`**: `[PackageEntitlementUnion!]`

List of entitlements for the plan

---

**`prices`**: `[Price!]`

List of prices for the plan

---

**`pricingType`**: `PricingType`

The pricing type of the package

---

**`product`**: `Product!`

---

**`productId`**: `String`

The product id of the package

---

**`refId`**: `String!`

The unique identifier for the entity

---

**`status`**: `PackageStatus!`

The status of the package

---

**`syncStates`**: `[SyncState!]`

Sync states of the plan with external systems

---

**`type`**: `String!`

The type of the package

---

**`updatedAt`**: `DateTime`

Timestamp of when the record was last updated

---

**`versionNumber`**: `Int!`

The version number of the package

## Examples

```graphql Query
query GetPaywall($input: GetPaywallInput!) {
  getPaywall(input: $input) {
    additionalMetaData
    awsMarketplacePlanDimension
    basePlan {
      __typename
    }
    billingId
    billingLinkUrl
    compatibleAddons {
      additionalMetaData
      billingId
      billingLinkUrl
      createdAt
      dependencies {
        __typename
      }
      description
    }
  }
}
```

```json Variables
{
  "input": {}
}
```

```json Response
{
  "data": {
    "getPaywall": [
      {
        "additionalMetaData": "value",
        "awsMarketplacePlanDimension": "string",
        "basePlan": {
          "__typename": "Plan"
        },
        "billingId": "string",
        "billingLinkUrl": "string",
        "compatibleAddons": [
          {
            "additionalMetaData": "value",
            "billingId": "string",
            "billingLinkUrl": "string",
            "createdAt": "value",
            "dependencies": [
              {
                "__typename": "Addon"
              }
            ],
            "description": "string"
          }
        ]
      }
    ]
  }
}
```


## Related topics

- [Node.js SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/node.md)
- [API Client (JS)](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/api-client-js.md)
- [Java SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/java.md)
- [.NET SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/dotnet.md)
- [Rate Limits](https://docs.stigg.io/api-and-sdks/integration/graphql/rate-limits.md)


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