PayPal · Schema

PlanEntitlementListResponse

PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing

Properties

Name Type Description
entitlements array List of entitlements associated with the plan
View JSON Schema on GitHub

JSON Schema

paypal-plan-entitlement-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-plan-entitlement-list-response-schema.json",
  "title": "PlanEntitlementListResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-entitlements-api-openapi.yml#/components/schemas/PlanEntitlementListResponse",
  "type": "object",
  "required": [
    "entitlements"
  ],
  "properties": {
    "entitlements": {
      "type": "array",
      "description": "List of entitlements associated with the plan",
      "items": {
        "$ref": "#/$defs/PlanEntitlementResponse"
      }
    }
  },
  "$defs": {
    "EntitlementPrivilegeBase": {
      "type": "object",
      "required": [
        "code",
        "value_type"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "Unique identifier for this specific privilege within the feature. Used as a key when setting privilege values.",
          "maxLength": 255,
          "pattern": "^[a-zA-Z0-9_-]+$"
        },
        "name": {
          "type": "string",
          "description": "User-friendly display name for this privilege shown in interfaces. More descriptive than the code and helps users understand what this specific setting controls.",
          "maxLength": 255
        },
        "value_type": {
          "$ref": "#/$defs/PrivilegeValueType"
        },
        "config": {
          "$ref": "#/$defs/PrivilegeConfig"
        }
      }
    },
    "PlanEntitlementPrivilege": {
      "type": "object",
      "required": [
        "value"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/EntitlementPrivilegeBase"
        },
        {
          "type": "object",
          "properties": {
            "value": {
              "description": "The specific value assigned to this privilege in the plan. The type of value must match the value_type field. For integer types, this represents numeric limits (e.g., 100 users); for boolean types, true/false settings (e.g., enable/disable features); for string or select types, specific configuration options (e.g., 'premium', 'basic')."
            }
          }
        }
      ]
    },
    "PlanEntitlementResponse": {
      "type": "object",
      "required": [
        "feature_code",
        "feature_privileges"
      ],
      "properties": {
        "feature_code": {
          "type": "string",
          "description": "Unique code used to identify the feature across the system. This serves as the primary identifier when assigning entitlements to plans and must be unique.",
          "maxLength": 255,
          "pattern": "^[a-zA-Z0-9_-]+$"
        },
        "name": {
          "type": "string",
          "description": "Human-readable display name of the feature shown in user interfaces. More descriptive than the code and helps users understand the feature's purpose.",
          "maxLength": 255
        },
        "description": {
          "type": "string",
          "description": "Comprehensive explanation of what this feature provides to customers, how it works, and any important usage information. This helps users understand the value and functionality of the feature.",
          "maxLength": 600
        },
        "feature_privileges": {
          "type": "array",
          "description": "Collection of configurable privilege settings associated with this feature entitlement. Each privilege defines a specific capability, setting, or limit (e.g., maximum users, access level, enabled/disabled status) that can be assigned values in the plan. These privileges determine what capabilities customers receive with this feature.",
          "items": {
            "$ref": "#/$defs/PlanEntitlementPrivilege"
          }
        }
      }
    },
    "PrivilegeConfig": {
      "type": "object",
      "description": "Additional configuration for privileges that require constraints or options. Currently used for 'select' type privileges to define allowed values.",
      "properties": {
        "select_options": {
          "type": "array",
          "description": "Defines the allowed values when value_type is 'select'. When creating entitlements, only these predefined options can be assigned. Useful for features like SSO providers, regions, or service tiers.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "PrivilegeValueType": {
      "type": "string",
      "description": "Defines the data type that this privilege accepts when being assigned values in entitlements. 'INTEGER' for numeric limits, 'BOOLEAN' for on/off toggles, 'STRING' for text values, 'SELECT' for predefined options.",
      "enum": [
        "STRING",
        "BOOLEAN",
        "INTEGER",
        "SELECT"
      ],
      "default": "STRING"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/paypal-plan-entitlement-list-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.