PayPal · Schema
Refund Detail
The refund details of the invoice. Includes the refund type, date, amount, and method.
BillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhook
Properties
| Name | Type | Description |
|---|---|---|
| type | object | The PayPal refund type. Indicates whether the refund was paid through PayPal or externally in the invoicing flow. The record refund method supports the `EXTERNAL` refund type. The `PAYPAL` refund type |
| refund_id | string | The ID for a PayPal payment transaction. Required for the `PAYPAL` payment type. |
| refund_date | object | The date when the invoice was refunded, in [Internet date format](https://tools.ietf.org/html/rfc3339#section-5.6). For example, `2014-02-27`. |
| amount | object | The amount to record as refunded. If you omit the amount, the total invoice paid amount is recorded as refunded. |
| method | object | The payment mode or method through which the invoicer can accept the payments. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/refund_detail",
"title": "Refund Detail",
"type": "object",
"description": "The refund details of the invoice. Includes the refund type, date, amount, and method.",
"properties": {
"type": {
"description": "The PayPal refund type. Indicates whether the refund was paid through PayPal or externally in the invoicing flow. The record refund method supports the `EXTERNAL` refund type. The `PAYPAL` refund type is supported for backward compatibility.",
"$ref": "#/components/schemas/payment_type",
"readOnly": true
},
"refund_id": {
"type": "string",
"description": "The ID for a PayPal payment transaction. Required for the `PAYPAL` payment type.",
"maxLength": 22,
"readOnly": true
},
"refund_date": {
"$ref": "#/components/schemas/date_no_time",
"description": "The date when the invoice was refunded, in [Internet date format](https://tools.ietf.org/html/rfc3339#section-5.6). For example, `2014-02-27`."
},
"amount": {
"$ref": "#/components/schemas/money",
"description": "The amount to record as refunded. If you omit the amount, the total invoice paid amount is recorded as refunded."
},
"method": {
"description": "The payment mode or method through which the invoicer can accept the payments.",
"$ref": "#/components/schemas/payment_method"
}
},
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/paypal-refund-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 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.