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
readwriteapplication/json
application/json
application/json
application/json
curl -X GET "https://example.com/subscriptions/5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba/lifetime-usage"{ "external_subscription_id": "Subscription_External_1", "external_historical_usage_amount": { "value": 0, "currency_code": "USD" }, "invoiced_usage_amount": { "value": 0, "currency_code": "USD" }, "current_usage_amount": { "value": 0, "currency_code": "USD" }, "from": "2025-07-31T12:59:15Z", "to": "2025-08-01T07:04:39Z"}