curl --request GET \
--url https://api.paygentic.io/v0/billableMetrics \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "billableMetric",
"name": "<string>",
"description": "<string>",
"merchantId": "<string>",
"unit": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aggregation": "SUM",
"productId": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
curl --request GET \
--url https://api.paygentic.io/v0/billableMetrics \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "billableMetric",
"name": "<string>",
"description": "<string>",
"merchantId": "<string>",
"unit": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aggregation": "SUM",
"productId": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Filter billable metrics by merchant organization ID.
Filter billable metrics by product ID.
Number of billable metrics to return.
1 <= x <= 100
Number of billable metrics to skip.
x >= 0
List of billable metrics
The response is of type object
.