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
curl -X GET "https://example.com/metrics"{ "metrics": [ { "id": "bm_01H2XT1G7N8E2JHJKBVPDS0TQD", "name": "API Requests", "code": "api_requests", "type": "METERED", "description": "Measures the total number of API requests made", "aggregation_type": "COUNT", "field_filters": [ { "key": "region", "values": [ "us-east-1", "us-west-1", "eu-west-1" ] } ], "created_at": "2023-05-10T14:32:18Z" } ], "pagination_metadata": { "total_count": 1, "total_pages": 10, "current_page": 1 }}