curl --request GET \
--url https://app.flowglad.com/api/v1/usage-events \
--header 'Authorization: <api-key>'
{
"items": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"livemode": true,
"customerId": "<string>",
"subscriptionId": "<string>",
"usageMeterId": "<string>",
"billingPeriodId": "<string>",
"amount": 123,
"usageDate": "<string>",
"transactionId": "<string>",
"priceId": "<string>",
"properties": {}
}
],
"total": 123,
"hasMore": true,
"nextCursor": "<string>"
}
curl --request GET \
--url https://app.flowglad.com/api/v1/usage-events \
--header 'Authorization: <api-key>'
{
"items": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"livemode": true,
"customerId": "<string>",
"subscriptionId": "<string>",
"usageMeterId": "<string>",
"billingPeriodId": "<string>",
"amount": 123,
"usageDate": "<string>",
"transactionId": "<string>",
"priceId": "<string>",
"properties": {}
}
],
"total": 123,
"hasMore": true,
"nextCursor": "<string>"
}
Was this page helpful?