PayPal · Schema

Payment Detail

The payment details of the invoice. Includes payment type, method, date, discount, and transaction type.

BillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhook

Properties

Name Type Description
type object The payment type in an invoicing flow which can be PayPal or an external cash or check payment.
payment_id string The ID for a PayPal payment transaction. Required for the `PAYPAL` payment type.
payment_date object The date when the invoice was paid, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). For example, *yyyy*-*MM*-*dd* *z*.
method object The payment mode or method through which the invoicer can accept the payment.
note string A note associated with an external cash or check payment.
amount object The payment amount to record against the invoice. If you omit this parameter, the total invoice amount is marked as paid. This amount cannot exceed the amount due.
shipping_info object The recipient's shipping information. Includes the user's contact information, which includes name and address.
View JSON Schema on GitHub

JSON Schema

paypal-payment-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/payment_detail",
  "title": "Payment Detail",
  "type": "object",
  "description": "The payment details of the invoice. Includes payment type, method, date, discount, and transaction type.",
  "properties": {
    "type": {
      "description": "The payment type in an invoicing flow which can be PayPal or an external cash or check payment.",
      "$ref": "#/components/schemas/payment_type",
      "readOnly": true
    },
    "payment_id": {
      "type": "string",
      "description": "The ID for a PayPal payment transaction. Required for the `PAYPAL` payment type.",
      "maxLength": 22
    },
    "payment_date": {
      "$ref": "#/components/schemas/date_no_time",
      "description": "The date when the invoice was paid, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). For example, *yyyy*-*MM*-*dd* *z*."
    },
    "method": {
      "description": "The payment mode or method through which the invoicer can accept the payment.",
      "$ref": "#/components/schemas/payment_method"
    },
    "note": {
      "type": "string",
      "description": "A note associated with an external cash or check payment.",
      "maxLength": 2000
    },
    "amount": {
      "$ref": "#/components/schemas/money",
      "description": "The payment amount to record against the invoice. If you omit this parameter, the total invoice amount is marked as paid. This amount cannot exceed the amount due."
    },
    "shipping_info": {
      "$ref": "#/components/schemas/contact_name_address",
      "description": "The recipient's shipping information. Includes the user's contact information, which includes name and address."
    }
  },
  "required": [
    "method"
  ]
}

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-payment-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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