PayPal · Schema
WalletWithId
PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing
Properties
| Name | Type | Description |
|---|---|---|
| external_customer_id | string | External system reference to the customer |
| status | object | |
| available_balance | object | |
| ongoing_usage | object | |
| net_balance | object | |
| name | string | Human-readable wallet name |
| rate_amount | string | Price charged per credit unit |
| available_credits | string | Current credit balance available |
| ongoing_usage_credits | string | This reflects all current usage and draft invoices. |
| net_balance_credits | string | This represents the real time balance after accounting for current usage. |
| consumed_credits | string | Total credits consumed so far |
| created_at | object | Date and time when the wallet was created, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC). |
| expiration_at | object | Date and time when the wallet is set to expire, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC). |
| terminated_at | object | Date and time when the wallet was terminated, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC). |
| applies_to | object | |
| recurring_transaction_rules | array | List of recurring transaction rules for automatic top-ups |
| id | object | Unique identifier for the wallet |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/paypal/json-schema/paypal-wallet-with-id-schema.json",
"title": "WalletWithId",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/paypal-wallets-api-openapi.yml#/components/schemas/WalletWithId",
"allOf": [
{
"$ref": "#/$defs/Wallet"
},
{
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/WalletId",
"description": "Unique identifier for the wallet"
}
}
}
],
"$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
}
}
},
"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"
]
},
"Wallet": {
"type": "object",
"required": [
"external_customer_id",
"rate_amount",
"status"
],
"properties": {
"external_customer_id": {
"type": "string",
"description": "External system reference to the customer"
},
"status": {
"$ref": "#/$defs/WalletStatus"
},
"available_balance": {
"allOf": [
{
"$ref": "#/$defs/Amount"
}
]
},
"ongoing_usage": {
"allOf": [
{
"$ref": "#/$defs/Amount"
},
{
"description": "The ongoing usage of the wallet, and it reflects all current usage and draft invoices including taxes."
}
]
},
"net_balance": {
"allOf": [
{
"$ref": "#/$defs/Amount"
},
{
"description": "This represents the real-time balance after accounting for current usage,."
}
]
},
"name": {
"type": "string",
"description": "Human-readable wallet name"
},
"rate_amount": {
"type": "string",
"description": "Price charged per credit unit"
},
"available_credits": {
"type": "string",
"description": "Current credit balance available"
},
"ongoing_usage_credits": {
"type": "string",
"description": "This reflects all current usage and draft invoices."
},
"net_balance_credits": {
"type": "string",
"description": "This represents the real time balance after accounting for current usage."
},
"consumed_credits": {
"type": "string",
"description": "Total credits consumed so far"
},
"created_at": {
"allOf": [
{
"$ref": "#/$defs/DateTimeWithZone"
}
],
"description": "Date and time when the wallet was created, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC)."
},
"expiration_at": {
"allOf": [
{
"$ref": "#/$defs/DateTimeWithZone"
}
],
"description": "Date and time when the wallet is set to expire, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC)."
},
"terminated_at": {
"allOf": [
{
"$ref": "#/$defs/DateTimeWithZone"
}
],
"description": "Date and time when the wallet was terminated, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC)."
},
"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"
}
]
}
}
}
},
"WalletId": {
"type": "string",
"description": "Unique identifier for the wallet"
},
"WalletStatus": {
"type": "string",
"description": "Current status of the wallet",
"enum": [
"ACTIVE",
"TERMINATED",
"PENDING"
],
"x-enum-varnames": [
"ACTIVE",
"TERMINATED",
"PENDING"
],
"x-enum-descriptions": [
"The wallet is active and can be used for transactions",
"The wallet has been terminated and cannot be used",
"The wallet is pending activation or processing"
]
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/paypal-wallet-with-id"
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.