PayPal · Schema

FeatureResponse

Complete feature object returned by the API, including all properties and server-generated fields like timestamps

PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing

Properties

Name Type Description
code string Unique identifier for the feature across your entire system. This code is used when creating entitlements and should represent the feature's function (e.g., 'seats', 'api-access', 'API_STORAGE'). Allo
name string Customer-facing name of the feature that clearly describes what functionality or capability it provides. This name appears in billing interfaces and customer portals.
description string Detailed explanation of what this feature provides, its limitations, and how it affects the customer's experience.
privileges array Privileges associated with this feature. Can be empty
created_at object Timestamp indicating when this feature was first created in the system. Used for audit and tracking purposes.
View JSON Schema on GitHub

JSON Schema

paypal-feature-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-feature-response-schema.json",
  "title": "FeatureResponse",
  "description": "Complete feature object returned by the API, including all properties and server-generated fields like timestamps",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-features-api-openapi.yml#/components/schemas/FeatureResponse",
  "type": "object",
  "required": [
    "code",
    "created_at"
  ],
  "allOf": [
    {
      "$ref": "#/$defs/FeatureBase"
    },
    {
      "type": "object",
      "properties": {
        "privileges": {
          "type": "array",
          "description": "Privileges associated with this feature. Can be empty",
          "items": {
            "$ref": "#/$defs/FeaturePrivilegeBase"
          }
        },
        "created_at": {
          "allOf": [
            {
              "$ref": "#/$defs/DateTimeWithZone"
            }
          ],
          "description": "Timestamp indicating when this feature was first created in the system. Used for audit and tracking purposes."
        }
      }
    }
  ],
  "$defs": {
    "DateTimeWithZone": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time in ISO 8601 format."
    },
    "FeatureBase": {
      "type": "object",
      "description": "Core properties that define a feature - a capability or functionality that can be entitled to customers through plans or subscriptions",
      "properties": {
        "code": {
          "type": "string",
          "description": "Unique identifier for the feature across your entire system. This code is used when creating entitlements and should represent the feature's function (e.g., 'seats', 'api-access', 'API_STORAGE'). Allows alphanumeric characters, underscores, and hyphens.",
          "maxLength": 255,
          "pattern": "^[a-zA-Z0-9_-]+$"
        },
        "name": {
          "type": "string",
          "description": "Customer-facing name of the feature that clearly describes what functionality or capability it provides. This name appears in billing interfaces and customer portals.",
          "maxLength": 255
        },
        "description": {
          "type": "string",
          "description": "Detailed explanation of what this feature provides, its limitations, and how it affects the customer's experience.",
          "maxLength": 600
        }
      }
    },
    "FeaturePrivilegeBase": {
      "type": "object",
      "description": "Defines a configurable aspect of a feature that can be assigned different values when entitled to plans or subscriptions",
      "required": [
        "code"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "Unique identifier for the privilege within its parent feature. Used as a key when assigning values to this privilege in entitlements. Allows alphanumeric characters, underscores, and hyphens.",
          "maxLength": 255,
          "pattern": "^[a-zA-Z0-9_-]+$"
        },
        "name": {
          "type": "string",
          "description": "Human-friendly display name for the privilege shown in user interfaces. This helps users understand what aspect of the feature is being configured.",
          "maxLength": 255
        },
        "value_type": {
          "$ref": "#/$defs/PrivilegeValueType"
        },
        "config": {
          "$ref": "#/$defs/PrivilegeConfig"
        }
      }
    },
    "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-feature-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.