Customers
Retrieve customer analytics for overdue balance
get/customers/{external_customer_id}/analytics/overdue-balance
Request
- Base URLhttps://api-m.sandbox.paypal.com
- AuthOAuth 2Client credentialsToken URL/api/oauth-proxyScopesread, write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
external_customer_idstring required
The unique external identifier of the customer used to filter their overdue balance.
Query parameters
monthsinteger
Limits the analytics data to the specified number of most recent months. Defaults to 12 if not provided.
currencystring
Currency code in ISO 4217 format.
Example:USD
Filters the analytics data by the specified currency code (e.g., 'USD').
Response
Customer overdue balance analytics retrieved successfully
Example response
{
"overdue_balances": [
{
"month": "2025-08",
"amount": {
"value": 55,
"currency_code": "USD"
},
"invoice_ids": [
"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.