curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/programs/{programId}/reports/points-earnings/daily \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"date": "2026-07-01",
"earning_rule_id": "lern_128f9ee63cc4ba558",
"earning_item_id": "lernei_128f582238cc4bf78e",
"card_definition_id": "lcdef_128f58429f4c4bf7b2",
"success_count": 1,
"points": 100,
"pending_points": 0,
"object": "program_points_earnings_daily_report"
}
],
"object": "report"
}List program points-earnings daily reports
Returns aggregated daily points-earnings statistics for the program over the given date range and resolution, optionally filtered by earning rule and card definition. Each entry sums earning operations recorded for one period, earning rule, earning item, and card definition. Periods without recorded activity are omitted. A filter that matches no rows returns an empty data array.
The date range is limited per resolution:
- 90 days for
day, - 12 weeks for
week, - 12 months for
month, - 4 quarters for
quarter, start_datemust be beforeend_date,start_dateandend_dateare inclusive.
Returns 400 when query validation fails. Returns 404 when the program does not exist.
curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/programs/{programId}/reports/points-earnings/daily \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"date": "2026-07-01",
"earning_rule_id": "lern_128f9ee63cc4ba558",
"earning_item_id": "lernei_128f582238cc4bf78e",
"card_definition_id": "lcdef_128f58429f4c4bf7b2",
"success_count": 1,
"points": 100,
"pending_points": 0,
"object": "program_points_earnings_daily_report"
}
],
"object": "report"
}Authorizations
Path Parameters
Identifies the loyalty program. Format lprg_[a-f0-9]+.
^lprg_[a-f0-9]+$Query Parameters
Sets the inclusive start of the report date range. Format YYYY-MM-DD.
^\d{4}-\d{2}-\d{2}$Sets the inclusive end of the report date range. Format YYYY-MM-DD. Must be after start_date.
^\d{4}-\d{2}-\d{2}$Sets the aggregation resolution. day allows at most 90 days, week at most 12 weeks, month at most 12 months, and quarter at most 4 quarters.
day, week, month, quarter Filters the results. Pass a deep object, for example filters[earning_rule_id][conditions][$is]=lern_.... Fields combine through junction, which defaults to AND. Omit filters to apply no field filter.
Filters for program points-earnings reports.
Show child attributes
Show child attributes
Response
Program points-earnings daily report.
Response body schema for GET /v2/loyalties/programs/{programId}/reports/points-earnings/daily.
List of report entries, one per aggregation period, earning rule, earning item, and card definition with recorded activity, ordered by date ascending. Empty when no activity was recorded in the range.
Show child attributes
Show child attributes
Object type marker. Always report.
"report"
