PayPal · Schema

paypal_response

Eligible payment methods along with applicable vault tokens, if requested.

PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing

Properties

Name Type Description
eligible_methods object
payment_tokens array Payment tokens for vaulted instruments, if available. This object will be included only if include_vault_tokens is set to true in the request.
View JSON Schema on GitHub

JSON Schema

paypal-find-eligible-methods-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-find-eligible-methods-response-schema.json",
  "title": "paypal_response",
  "description": "Eligible payment methods along with applicable vault tokens, if requested.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-find-eligible-methods-api-openapi.yml#/components/schemas/find_eligible_methods_response",
  "type": "object",
  "properties": {
    "eligible_methods": {
      "allOf": [
        {
          "$ref": "#/$defs/payment_methods"
        },
        {
          "description": "List of payment methods that are eligible."
        }
      ]
    },
    "payment_tokens": {
      "description": "Payment tokens for vaulted instruments, if available. This object will be included only if include_vault_tokens is set to true in the request.",
      "type": "array",
      "minItems": 1,
      "maxItems": 64,
      "items": {
        "allOf": [
          {
            "$ref": "#/$defs/payment_token"
          },
          {
            "description": "Payment Token."
          }
        ]
      }
    }
  },
  "$defs": {
    "account_id-2": {
      "title": "PayPal Account Identifier",
      "description": "The account identifier for a PayPal account.",
      "type": "string",
      "minLength": 13,
      "maxLength": 13,
      "pattern": "^[2-9A-HJ-NP-Z]{13}$"
    },
    "country_code-2": {
      "description": "The [two-character ISO 3166-1 code](/api/rest/reference/country-codes/) that identifies the country or region.<blockquote><strong>Note:</strong> The country code for Great Britain is <code>GB</code> and not <code>UK</code> as used in the top-level domain names for that country. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.</blockquote>",
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "pattern": "^([A-Z]{2}|C2)$"
    },
    "credit_product_button_code": {
      "title": "Credit Button Eligibility Button Code",
      "description": "The button code corresponding to a particular product or set of products. The values followed are defined by the SDK team.",
      "type": "string",
      "enum": [
        "CREDIT",
        "PAYLATER",
        "PAY_IN_3",
        "PAY_IN_4"
      ]
    },
    "email": {
      "title": "email",
      "description": "The internationalized email address.<blockquote><strong>Note:</strong> Up to 64 characters are allowed before and 255 characters are allowed after the <code>@</code> sign. However, the generally accepted maximum length for an email address is 254 characters. The pattern verifies that an unquoted <code>@</code> sign exists.</blockquote>",
      "type": "string",
      "minLength": 3,
      "maxLength": 254,
      "pattern": "^.*(?:[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*|(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|\\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-zA-Z0-9-]*[a-zA-Z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\]).*$"
    },
    "link_description": {
      "title": "Link Description",
      "description": "The request-related [HATEOAS link](/api/rest/responses/#hateoas-links) information.",
      "type": "object",
      "required": [
        "href",
        "rel"
      ],
      "properties": {
        "href": {
          "description": "The complete target URL. To make the related call, combine the method with this [URI Template-formatted](https://tools.ietf.org/html/rfc6570) link. For pre-processing, include the `$`, `(`, and `)` characters. The `href` is the key HATEOAS component that links a completed call with a subsequent call.",
          "type": "string",
          "minLength": 0,
          "maxLength": 2147483647,
          "pattern": "^[\\S\\s]*$"
        },
        "rel": {
          "description": "The [link relation type](https://tools.ietf.org/html/rfc5988#section-4), which serves as an ID for a link that unambiguously describes the semantics of the link. See [Link Relations](https://www.iana.org/assignments/link-relations/link-relations.xhtml).",
          "type": "string",
          "minLength": 0,
          "maxLength": 2147483647,
          "pattern": "^[\\S\\s]*$"
        },
        "method": {
          "description": "The HTTP method required to make the related call.",
          "type": "string",
          "enum": [
            "GET",
            "POST",
            "PUT",
            "DELETE",
            "HEAD",
            "CONNECT",
            "OPTIONS",
            "PATCH"
          ]
        },
        "title": {
          "description": "The link title.",
          "type": "string",
          "minLength": 0,
          "maxLength": 2147483647,
          "pattern": "^[\\S\\s]*$"
        },
        "mediaType": {
          "title": "media_type",
          "description": "The media type, as defined by [RFC 2046](https://www.ietf.org/rfc/rfc2046.txt). Describes the link target.",
          "type": "string",
          "minLength": 0,
          "maxLength": 2147483647,
          "pattern": "^[\\S\\s]*$"
        },
        "encType": {
          "title": "enc_type",
          "description": "The media type in which to submit the request data.",
          "type": "string",
          "minLength": 0,
          "maxLength": 2147483647,
          "pattern": "^[\\S\\s]*$",
          "default": "application/json"
        },
        "schema": {
          "allOf": [
            {
              "$ref": "#/$defs/link_schema"
            },
            {
              "description": "The schema that describes the request data."
            }
          ]
        },
        "targetSchema": {
          "allOf": [
            {
              "$ref": "#/$defs/link_schema"
            },
            {
              "title": "target_schema",
              "description": "The schema that describes the link target."
            }
          ]
        }
      }
    },
    "link_schema": {
      "title": "Link Schema",
      "description": "The request data or link target.",
      "type": "object",
      "properties": {
        "additionalItems": {
          "title": "additional_items",
          "description": "Any additional items.",
          "type": "object"
        },
        "dependencies": {
          "title": "Dependencies",
          "description": "The dependencies.",
          "type": "object"
        },
        "items": {
          "title": "Items",
          "description": "An item.",
          "type": "object"
        },
        "definitions": {
          "title": "Definitions",
          "description": "Definitions.",
          "type": "object"
        },
        "patternProperties": {
          "title": "pattern_properties",
          "description": "The pattern properties.",
          "type": "object"
        },
        "properties": {
          "title": "Properties",
          "description": "The properties.",
          "type": "object"
        },
        "allOf": {
          "title": "all_of",
          "description": "An array of sub-schemas. The data must validate against all sub-schemas.",
          "type": "array",
          "minItems": 0,
          "maxItems": 32767,
          "items": {
            "title": "all_of_item",
            "description": "A sub-schema against which the data must validate.",
            "type": "object"
          }
        },
        "anyOf": {
          "title": "any_of",
          "description": "An array of sub-schemas. The data must validate against one or more sub-schemas.",
          "type": "array",
          "minItems": 0,
          "maxItems": 32767,
          "items": {
            "title": "any_of_item",
            "description": "A sub-schema against which the data must validate.",
            "type": "object"
          }
        },
        "oneOf": {
          "title": "one_of",
          "description": "An array of sub-schemas. The data must validate against one sub-schema.",
          "type": "array",
          "minItems": 0,
          "maxItems": 32767,
          "items": {
            "title": "one_of_item",
            "description": "A sub-schema against which the data must validate.",
            "type": "object"
          }
        },
        "not": {
          "title": "Not",
          "description": "Not.",
          "type": "object"
        },
        "links": {
          "description": "An array of links.",
          "type": "array",
          "minItems": 0,
          "maxItems": 32767,
          "readOnly": true,
          "items": {
            "title": "link",
            "description": "A link.",
            "type": "object",
            "readOnly": true
          }
        },
        "fragmentResolution": {
          "title": "fragment_resolution",
          "description": "The fragment resolution.",
          "type": "string",
          "minLength": 0,
          "maxLength": 2147483647,
          "pattern": "^[\\S\\s]*$"
        },
        "media": {
          "title": "Media",
          "description": "The media type and context-encoding scheme.",
          "type": "object",
          "properties": {
            "type": {
              "description": "The media type. See [Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types](https://tools.ietf.org/html/rfc2046).",
              "type": "string",
              "minLength": 0,
              "maxLength": 2147483647,
              "pattern": "^[\\S\\s]*$"
            },
            "binaryEncoding": {
              "title": "binary_encoding",
              "description": "The content-encoding scheme. See [Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies](https://tools.ietf.org/html/rfc2045).",
              "type": "string",
              "minLength": 0,
              "maxLength": 2147483647,
              "pattern": "^[\\S\\s]*$"
            }
          }
        },
        "pathStart": {
          "title": "path_start",
          "description": "To apply this schema to the instances' URIs, start the URIs with this value.",
          "type": "string",
          "minLength": 0,
          "maxLength": 2147483647,
          "format": "uri"
        }
      }
    },
    "payer_base": {
      "title": "payer_base",
      "description": "The customer who approves and pays for the order. The customer is also known as the payer.",
      "type": "object",
      "properties": {
        "email_address": {
          "allOf": [
            {
              "$ref": "#/$defs/email"
            },
            {
              "description": "The email address of the payer."
            }
          ]
        },
        "payer_id": {
          "allOf": [
            {
              "$ref": "#/$defs/account_id-2"
            },
            {
              "description": "The PayPal-assigned ID for the payer.",
              "readOnly": true
            }
          ]
        }
      }
    },
    "payment_method_common": {
      "title": "Common response fields",
      "description": "Common response fields for all payment methods.",
      "type": "object",
      "properties": {
        "can_be_vaulted": {
          "description": "Indicates if the payment method can be vaulted or not. A true value indicates the payment method can be vaulted using our vaults product. If false, vaulting is not currently supported for this payment method.",
          "type": "boolean",
          "default": "false"
        },
        "country_code": {
          "allOf": [
            {
              "$ref": "#/$defs/country_code-2"
            },
            {
              "description": "Returns a country_code which is derived from the buyer's country."
            }
          ]
        },
        "product_code": {
          "allOf": [
            {
              "$ref": "#/$defs/credit_product_button_code"
            },
            {
              "description": "Returns a product code."
            }
          ]
        }
      }
    },
    "payment_method_eligible_in_paypal_network": {
      "title": "PayPal services member indicator",
      "description": "Flag that indicates if the customer is in the PayPal network. This value will be included in the response if the include_account_details flag is set to \"true\" in the API request.",
      "type": "boolean"
    },
    "payment_methods": {
      "title": "Payment Methods",
      "description": "List of payment methods.",
      "type": "object",
      "properties": {
        "paypal": {
          "allOf": [
            {
              "$ref": "#/$defs/paypal"
            },
            {
              "description": "PayPal payment method."
            }
          ]
        },
        "venmo": {
          "allOf": [
            {
              "$ref": "#/$defs/venmo"
            },
            {
              "description": "Venmo payment method."
            }
          ]
        },
        "paypal_credit": {
          "allOf": [
            {
              "$ref": "#/$defs/payment_method_common"
            },
            {
              "description": "PayPal Credit payment method."
            }
          ]
        },
        "paypal_pay_later": {
          "allOf": [
            {
              "$ref": "#/$defs/payment_method_common"
            },
            {
              "description": "PayPal Pay Later payment method."
            }
          ]
        }
      }
    },
    "payment_token": {
      "title": "payment_token",
      "description": "Vaulted instrument for a payment-method.",
      "type": "object",
      "properties": {
        "id": {
          "title": "id",
          "description": "The PayPal-generated ID for the vault token.",
          "type": "string",
          "minLength": 7,
          "maxLength": 36,
          "pattern": "^[0-9a-zA-Z_-]+$"
        },
        "payment_source": {
          "title": "The vaulted payment method details",
          "description": "The vaulted payment method details.",
          "type": "object",
          "properties": {
            "paypal": {
              "allOf": [
                {
                  "$ref": "#/$defs/payer_base"
                },
                {
                  "not": {
                    "required": [
                      "payer_id"
                    ]
                  }
                }
              ]
            },
            "venmo": {
              "$ref": "#/$defs/venmo_payment_token_info"
            }
          }
        },
        "links": {
          "description": "An array of related [HATEOAS links](/api/rest/responses/#hateoas).",
          "type": "array",
          "minItems": 1,
          "maxItems": 32,
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/link_description"
          }
        }
      }
    },
    "paypal": {
      "title": "Response for PayPal",
      "description": "Response for PayPal.",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/payment_method_common"
        },
        {
          "type": "object",
          "properties": {
            "eligible_in_paypal_network": {
              "$ref": "#/$defs/payment_method_eligible_in_paypal_network"
            },
            "recommended": {
              "description": "Indicates if the payment method is recommended or not. A true value indicates the customer is payment ready and this payment method may be presented upfront.",
              "type": "boolean",
              "default": "false"
            },
            "recommended_priority": {
              "description": "This value is included in the response when recommended is true for a payment method. It indicates the priority of recommendation for payment readiness of eligible payment methods with lowest number taking the highest precedence.",
              "type": "integer",
              "minimum": 1,
              "maximum": 3
            }
          }
        }
      ]
    },
    "venmo": {
      "title": "Response for Venmo",
      "description": "Response for Venmo.",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/payment_method_common"
        },
        {
          "type": "object",
          "properties": {
            "eligible_in_paypal_network": {
              "$ref": "#/$defs/payment_method_eligible_in_paypal_network"
            },
            "recommended": {
              "description": "Indicates if the payment method is recommended or not. A true value indicates the customer is payment ready and this payment method may be presented upfront.",
              "type": "boolean",
              "default": "false"
            },
            "recommended_priority": {
              "description": "This value is included in the response when recommended is true for a payment method. It indicates the priority of recommendation for payment readiness of eligible payment methods with lowest number taking the highest precedence.",
              "type": "integer",
              "minimum": 1,
              "maximum": 3
            }
          }
        }
      ]
    },
    "venmo_payment_token_info": {
      "title": "venmo_payment_token",
      "description": "Payment Token info for Venmo payment source.",
      "type": "object",
      "properties": {
        "user_name": {
          "description": "The Venmo username, as chosen by the user.",
          "type": "string",
          "minLength": 1,
          "maxLength": 50,
          "pattern": "^[-a-zA-Z0-9_]*$"
        }
      }
    }
  }
}

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-find-eligible-methods-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.