View as Markdown
API Spec (JSON)
API Spec (YAML)
Compact modeHides field descriptions and other prose for a more compact, scannable view of the API reference.Client CredentialsToken URLhttps://api-m.sandbox.paypal.com/v1/oauth2/tokenInheaderScopes
readwritecurrencystring<Currency>Optionalapplication/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/customers/5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba/analytics/gross-revenue?months=6¤cy=USD"{ "gross_revenues": [ { "month": "2023-11", "amount": { "value": 120.35, "currency_code": "USD" }, "invoices_count": 10 } ]}