PayPal · Schema

GrossRevenues

Represents a collection of monthly gross revenue records for a specific customer.

PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing

Properties

Name Type Description
gross_revenues array An array of monthly gross revenue entries for the specified customer.
View JSON Schema on GitHub

JSON Schema

paypal-gross-revenues-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-gross-revenues-schema.json",
  "title": "GrossRevenues",
  "description": "Represents a collection of monthly gross revenue records for a specific customer.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-customers-api-openapi.yml#/components/schemas/GrossRevenues",
  "type": "object",
  "properties": {
    "gross_revenues": {
      "type": "array",
      "description": "An array of monthly gross revenue entries for the specified customer.",
      "items": {
        "$ref": "#/$defs/GrossRevenue"
      }
    }
  },
  "$defs": {
    "Amount": {
      "allOf": [
        {
          "$ref": "#/$defs/AmountNoCurrency"
        },
        {
          "type": "object",
          "required": [
            "currency_code"
          ],
          "properties": {
            "currency_code": {
              "$ref": "#/$defs/Currency"
            }
          }
        }
      ]
    },
    "AmountNoCurrency": {
      "type": "object",
      "required": [
        "value"
      ],
      "properties": {
        "value": {
          "type": "number",
          "format": "decimal",
          "description": "The amount value in the corresponding currency unit (e.g., two decimals for USD, no decimals for JPY).",
          "minimum": 0,
          "nullable": false,
          "default": 0
        }
      }
    },
    "Currency": {
      "type": "string",
      "description": "Currency code in ISO 4217 format.",
      "minLength": 3,
      "maxLength": 3,
      "pattern": "^[A-Z]{3}$"
    },
    "DateYearMonth": {
      "description": "The year and month, represented as a string in ISO 8601 'YYYY-MM' format (e.g., '2025-08'). For details, refer to RFC 3339 section 5.6 (Internet Date/Time Format).",
      "type": "string",
      "minLength": 7,
      "maxLength": 7,
      "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$"
    },
    "GrossRevenue": {
      "type": "object",
      "description": "Represents the gross revenue data for a customer for a given month.",
      "properties": {
        "month": {
          "allOf": [
            {
              "$ref": "#/$defs/DateYearMonth"
            },
            {
              "description": "The reference month for the gross revenue, formatted as an ISO 8601 year-month string ('yyyy-MM'), representing the first day of the month in UTC."
            }
          ]
        },
        "amount": {
          "allOf": [
            {
              "$ref": "#/$defs/Amount"
            },
            {
              "description": "The total gross revenue amount for the specified customer during the reference month."
            }
          ]
        },
        "invoices_count": {
          "type": "integer",
          "description": "The number of invoices included in the gross revenue calculation for the reference month."
        }
      }
    }
  }
}

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-gross-revenues"
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.