PayPal · Schema

EventResponse

PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing

Properties

Name Type Description
transaction_id string Unique identifier for the transaction associated with the event
external_subscription_id string External subscription ID associated with the event
metric_code string Identifier for the targeted metric. This value must match the `code` property of an active metric; otherwise, it will be disregarded during processing.
timestamp object Timestamp when the event occurred
properties object
id string Unique identifier for the event
created_at object Timestamp when the event was created
View JSON Schema on GitHub

JSON Schema

paypal-event-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-event-response-schema.json",
  "title": "EventResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-events-api-openapi.yml#/components/schemas/EventResponse",
  "allOf": [
    {
      "$ref": "#/$defs/EventBase"
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the event"
        },
        "created_at": {
          "allOf": [
            {
              "$ref": "#/$defs/DateTimeWithZone"
            }
          ],
          "description": "Timestamp when the event was created"
        }
      }
    }
  ],
  "$defs": {
    "DateTimeWithZone": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time in ISO 8601 format."
    },
    "EventBase": {
      "type": "object",
      "properties": {
        "transaction_id": {
          "type": "string",
          "description": "Unique identifier for the transaction associated with the event"
        },
        "external_subscription_id": {
          "type": "string",
          "description": "External subscription ID associated with the event"
        },
        "metric_code": {
          "type": "string",
          "description": "Identifier for the targeted metric. This value must match the `code` property of an active metric; otherwise, it will be disregarded during processing."
        },
        "timestamp": {
          "allOf": [
            {
              "$ref": "#/$defs/DateTimeWithZone"
            }
          ],
          "description": "Timestamp when the event occurred"
        },
        "properties": {
          "type": "object"
        }
      },
      "required": [
        "transaction_id",
        "metric_code",
        "external_subscription_id"
      ]
    }
  }
}

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