Metrics
Get a metric by code
get/metrics/{metric_code}
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
metric_codestring required
The code of the metric
Response
Metric retrieved successfully
Example response
{
"type": "METERED",
"aggregation_type": "SUM",
"created_at": "2023-10-01T12:00:00Z",
"updated_at": "2023-10-01T12:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.