PayPal · Schema

WalletCreate

PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing

Properties

Name Type Description
external_customer_id string External reference to the customer
currency object Currency in which the wallet operates
name string Name of the wallet
rate_amount string Cost rate per credit unit, must be non zero positive value
paid_credits string Number of paid credits to initialize, must be positive value
granted_credits string Number of granted credits to initialize, must be positive value
expiration_at object Cancelled date of the subscription
applies_to object
recurring_transaction_rules array List of recurring transaction rules for automatic top-ups
View JSON Schema on GitHub

JSON Schema

paypal-wallet-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-wallet-create-schema.json",
  "title": "WalletCreate",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-wallets-api-openapi.yml#/components/schemas/WalletCreate",
  "type": "object",
  "required": [
    "external_customer_id",
    "currency",
    "rate_amount"
  ],
  "properties": {
    "external_customer_id": {
      "type": "string",
      "description": "External reference to the customer"
    },
    "currency": {
      "allOf": [
        {
          "$ref": "#/$defs/Currency"
        }
      ],
      "description": "Currency in which the wallet operates"
    },
    "name": {
      "type": "string",
      "description": "Name of the wallet"
    },
    "rate_amount": {
      "type": "string",
      "description": "Cost rate per credit unit, must be non zero positive value",
      "pattern": "^(?!0+(?:\\.0+)?$)\\d+(\\.\\d+)?$"
    },
    "paid_credits": {
      "type": "string",
      "description": "Number of paid credits to initialize, must be positive value",
      "pattern": "^(0|[1-9]\\d*)(\\.\\d+)?$"
    },
    "granted_credits": {
      "type": "string",
      "description": "Number of granted credits to initialize, must be positive value",
      "pattern": "^(0|[1-9]\\d*)(\\.\\d+)?$"
    },
    "expiration_at": {
      "allOf": [
        {
          "$ref": "#/$defs/DateTimeWithZone"
        }
      ],
      "description": "Cancelled date of the subscription"
    },
    "applies_to": {
      "allOf": [
        {
          "$ref": "#/$defs/PrepaidCreditAppliesTo"
        }
      ]
    },
    "recurring_transaction_rules": {
      "type": "array",
      "description": "List of recurring transaction rules for automatic top-ups",
      "items": {
        "allOf": [
          {
            "$ref": "#/$defs/RecurringTransactionRule"
          }
        ]
      }
    }
  },
  "$defs": {
    "BillingCycle": {
      "type": "string",
      "description": "The billing cycle indicating how often the subscription is charged",
      "enum": [
        "WEEKLY",
        "MONTHLY",
        "QUARTERLY",
        "YEARLY"
      ],
      "x-enum-varnames": [
        "WEEKLY",
        "MONTHLY",
        "QUARTERLY",
        "YEARLY"
      ],
      "x-enum-descriptions": [
        "Recurring billing occurs every week",
        "Recurring billing occurs every month",
        "Recurring billing occurs every three months",
        "Recurring billing occurs once a year"
      ]
    },
    "Currency": {
      "type": "string",
      "description": "Currency code in ISO 4217 format.",
      "minLength": 3,
      "maxLength": 3,
      "pattern": "^[A-Z]{3}$"
    },
    "DateTimeWithZone": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time in ISO 8601 format."
    },
    "FeeType": {
      "type": "string",
      "description": "Types of fees that wallet prepaid credits can be applied to",
      "enum": [
        "SUBSCRIPTION",
        "COMMITMENT",
        "CHARGE"
      ],
      "x-enum-varnames": [
        "SUBSCRIPTION",
        "COMMITMENT",
        "CHARGE"
      ],
      "x-enum-descriptions": [
        "Wallet prepaid credits used only for subscription payments",
        "Wallet prepaid credits used only for commitment payments",
        "Wallet prepaid credits used only for charge payments"
      ]
    },
    "PrepaidCreditAppliesTo": {
      "type": "object",
      "description": "Indicates whether the prepaid credit applies to the entire invoice or only to specific line items.",
      "properties": {
        "fee_types": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FeeType"
          }
        }
      }
    },
    "RecurringTransactionMethod": {
      "type": "string",
      "description": "Method for recurring transaction execution",
      "enum": [
        "FIXED",
        "TARGET"
      ],
      "x-enum-varnames": [
        "FIXED",
        "TARGET"
      ],
      "x-enum-descriptions": [
        "Recurring transaction rule with fixed credits",
        "Recurring transaction rule with target ongoing balance"
      ]
    },
    "RecurringTransactionRule": {
      "type": "object",
      "description": "Defines a recurring wallet transaction rule that triggers based on specific conditions.",
      "required": [
        "method",
        "trigger"
      ],
      "properties": {
        "trigger": {
          "$ref": "#/$defs/RecurringTransactionTrigger"
        },
        "paid_credits": {
          "type": "string",
          "description": "Number of paid credits to be added when the rule is triggered. Must be a positive value",
          "pattern": "^(0|[1-9]\\d*)(\\.\\d+)?$"
        },
        "granted_credits": {
          "type": "string",
          "description": "Number of granted credits to be added when the rule is triggered. Must be a positive value",
          "pattern": "^(0|[1-9]\\d*)(\\.\\d+)?$"
        },
        "method": {
          "$ref": "#/$defs/RecurringTransactionMethod"
        },
        "interval": {
          "$ref": "#/$defs/BillingCycle"
        },
        "started_at": {
          "allOf": [
            {
              "$ref": "#/$defs/DateTimeWithZone"
            }
          ],
          "description": "Start date of the recurring wallet transaction rule"
        },
        "expiration_at": {
          "allOf": [
            {
              "$ref": "#/$defs/DateTimeWithZone"
            }
          ],
          "description": "Expiration date of the recurring wallet transaction rule"
        },
        "threshold_credits": {
          "type": "string",
          "description": "Threshold of credits that triggers the recurring transaction rule."
        },
        "target_ongoing_balance": {
          "type": "string",
          "description": "Target ongoing balance that triggers the recurring transaction rule."
        }
      }
    },
    "RecurringTransactionTrigger": {
      "type": "string",
      "description": "Condition that triggers the recurring transaction rule",
      "enum": [
        "INTERVAL",
        "THRESHOLD"
      ],
      "x-enum-varnames": [
        "INTERVAL",
        "THRESHOLD"
      ],
      "x-enum-descriptions": [
        "Recurring transaction rule triggered at a specific interval",
        "Recurring transaction rule triggered when a threshold is reached"
      ]
    }
  }
}

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-wallet-create"
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.