PayPal · Schema

Experience Context

Customizes the Vault creation flow experience for your customers.

BillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhook

Properties

Name Type Description
brand_name string The label that overrides the business name in the PayPal account on the PayPal site. The pattern is defined by an external party and supports Unicode.
locale object The BCP 47-formatted locale of pages that the PayPal vaulting experience shows. PayPal supports a five-character code. For example, `DA-DK`, `HE-IL`, `ID-ID`, `JA-JP`, `NO-NO`, `PT-BR`, `RU-RU`, `SV-S
return_url string The URL where the customer is redirected after customer approves leaves the flow. It is a required field for contingency flows like PayPal wallet, 3DS.
cancel_url string The URL where the customer is redirected after customer cancels or leaves the flow. It is a required field for contingency flows like PayPal wallet, 3DS.
shipping_preference string The shipping preference. This only applies to PayPal payment source.
vault_instruction object Vault Instruction on action to be performed after a successful payer approval.
View JSON Schema on GitHub

JSON Schema

paypal-experience-context-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/experience_context",
  "title": "Experience Context",
  "type": "object",
  "description": "Customizes the Vault creation flow experience for your customers.",
  "properties": {
    "brand_name": {
      "type": "string",
      "description": "The label that overrides the business name in the PayPal account on the PayPal site. The pattern is defined by an external party and supports Unicode.",
      "minLength": 1,
      "maxLength": 300,
      "pattern": "^.*$"
    },
    "locale": {
      "description": "The BCP 47-formatted locale of pages that the PayPal vaulting experience shows. PayPal supports a five-character code. For example, `DA-DK`, `HE-IL`, `ID-ID`, `JA-JP`, `NO-NO`, `PT-BR`, `RU-RU`, `SV-SE`, `TH-TH`, `ZH-CN`, `ZH-HK`, or `ZH-TW`.",
      "$ref": "#/components/schemas/language"
    },
    "return_url": {
      "type": "string",
      "format": "uri",
      "minLength": 1,
      "maxLength": 4000,
      "description": "The URL where the customer is redirected after customer approves leaves the flow. It is a required field for contingency flows like PayPal wallet, 3DS."
    },
    "cancel_url": {
      "type": "string",
      "format": "uri",
      "minLength": 1,
      "maxLength": 4000,
      "description": "The URL where the customer is redirected after customer cancels or leaves the flow. It is a required field for contingency flows like PayPal wallet, 3DS."
    },
    "shipping_preference": {
      "type": "string",
      "description": "The shipping preference. This only applies to PayPal payment source.",
      "default": "GET_FROM_FILE",
      "minLength": 1,
      "maxLength": 255,
      "pattern": "^[0-9A-Z_]+$"
    },
    "vault_instruction": {
      "description": "Vault Instruction on action to be performed after a successful payer approval.",
      "$ref": "#/components/schemas/vault_instruction"
    }
  }
}

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-experience-context"
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 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. See our Privacy Policy and Terms.

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