> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get card daily points report

> ⚠️ **BETA endpoint**

This is a work-in-progress documentation of a BETA endpoint. The parameters, fields, request and response bodies, and other data may subject to change. If you want to share feedback or improvements, contact Voucherify support or your Technical Account Manager.

Returns aggregated daily points statistics for a member's loyalty card over the given
date range and resolution.

The date range is limited per resolution:
maximum 90 days for `day`, 12 weeks for `week`, 12 months for `month`, 4 quarters
for `quarter`.




## OpenAPI

````yaml /openapi/loyalties-v2.json get /v2/loyalties/programs/{programId}/members/{memberId}/cards/{cardId}/reports/daily
openapi: 3.1.0
info:
  title: Voucherify Loyalty v2 API
  version: 2.0.0
  description: >-
    Complete OpenAPI specification for the Voucherify Loyalty v2 API.

    All endpoints require the LOYALTY_V2 feature flag.


    Combined from per-domain specs: programs.yaml, members.yaml,
    program-operations.yaml, card-definitions.yaml, earning-rules.yaml,
    tier-structures.yaml, benefits.yaml, rewards.yaml, examine.yaml
servers:
  - url: '{protocol}://{host}'
    variables:
      protocol:
        default: https
        enum:
          - https
          - http
      host:
        default: api.voucherify.io
security:
  - bearerAuth: []
    X-App-Id: []
    X-App-Token: []
tags:
  - name: Programs
    description: >-
      Loyalty program CRUD, lifecycle management, program-scoped resource
      assignments (card definitions, earning rules, rewards, tier structures),
      member management (create, list, get, activate, deactivate, delete), card
      operations (points adjustment, pending points, expiring points,
      transactions), reward purchases, and activity history.
  - name: Card Definitions
    description: >-
      CRUD operations, lifecycle management, and activity history for card
      definitions. Card definitions describe the configuration for loyalty
      cards, including code generation, points expiration, earning/spending
      limits, pending points, refunds, and balance settings.
  - name: Earning Rules
    description: >-
      Manage earning rules that define how customers earn points or receive
      incentives based on triggers (events, segments, custom events). Includes
      CRUD, lifecycle, and activity history.
  - name: Tier Structures
    description: >-
      CRUD operations, lifecycle management, and activity history for tier
      structures. Includes nested tier definitions (create, list, update,
      delete) within tier structures. Tier structures define the tiering model
      for loyalty programs — how members qualify for and move between tiers.
  - name: Benefits
    description: >-
      Manage benefit definitions (fixed points, proportional points, material,
      digital). Includes CRUD, lifecycle transitions, and activity history.
  - name: Rewards
    description: >-
      CRUD, lifecycle operations, and activity history for reward definitions.
      Rewards can be material (product/SKU) or digital (discount coupons, gift
      vouchers).
  - name: Examine
    description: >-
      Evaluation endpoints that estimate earning opportunities and reward
      availability for a customer across their loyalty program memberships,
      without side effects.
paths:
  /v2/loyalties/programs/{programId}/members/{memberId}/cards/{cardId}/reports/daily:
    get:
      tags:
        - Programs
      summary: Get card daily points report
      description: >
        ⚠️ **BETA endpoint**


        This is a work-in-progress documentation of a BETA endpoint. The
        parameters, fields, request and response bodies, and other data may
        subject to change. If you want to share feedback or improvements,
        contact Voucherify support or your Technical Account Manager.


        Returns aggregated daily points statistics for a member's loyalty card
        over the given

        date range and resolution.


        The date range is limited per resolution:

        maximum 90 days for `day`, 12 weeks for `week`, 12 months for `month`, 4
        quarters

        for `quarter`.
      operationId: getMemberCardDailyReport
      parameters:
        - name: programId
          in: path
          required: true
          description: >
            Unique loyalty program identifier (format: `lprg_` followed by
            hexadecimal characters).
          schema:
            type: string
        - name: memberId
          in: path
          required: true
          description: Program member ID (format `lmbr_[a-f0-9]+`).
          schema:
            type: string
            pattern: ^lmbr_[a-f0-9]+$
        - name: cardId
          in: path
          required: true
          description: >
            Unique loyalty card identifier (format: `lcrd_` followed by
            hexadecimal characters).
          schema:
            type: string
        - name: start_date
          in: query
          required: true
          description: Start of the report date range (inclusive), in `YYYY-MM-DD` format.
          schema:
            type: string
            format: date
            pattern: ^\d{4}-\d{2}-\d{2}$
        - name: end_date
          in: query
          required: true
          description: End of the report date range, in `YYYY-MM-DD` format.
          schema:
            type: string
            format: date
            pattern: ^\d{4}-\d{2}-\d{2}$
        - name: resolution
          in: query
          required: true
          description: >
            Aggregation resolution of the report. The allowed date range depends
            on the resolution: `day` — max 90 days, `week` — max 12 weeks,
            `month` — max 12 months, `quarter` — max 4 quarters.
          schema:
            type: string
            enum:
              - day
              - week
              - month
              - quarter
      responses:
        '200':
          description: Card daily points report.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardDailyReportResponse'
        '400':
          description: >-
            Validation error - request body or query parameters failed
            validation, or the operation is not allowed in the current resource
            state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict - e.g. duplicate resource or invalid state transition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    CardDailyReportResponse:
      type: object
      description: Card daily report result.
      properties:
        data:
          type: array
          description: Report entries, one per aggregation period.
          items:
            $ref: '#/components/schemas/CardDailyReportEntry'
        object:
          type: string
          const: report
          description: Object type marker. Always `report`.
    ErrorResponse:
      type: object
      description: Standard error response returned by all Loyalty v2 endpoints.
      properties:
        code:
          type: integer
          description: HTTP status code of the error.
        key:
          type: string
          description: Machine-readable error key.
        message:
          type: string
          description: Human-readable error message.
        details:
          type: string
          description: Additional details about the error.
        request_id:
          type: string
          description: Identifier of the request that produced the error.
    CardDailyReportEntry:
      type: object
      description: >
        Aggregated daily card points statistics for one period. All numeric
        fields default to 0.
      properties:
        date:
          type: string
          format: date
          description: Date of the aggregation period (`YYYY-MM-DD`).
        points_total:
          type: number
          description: Total points balance change in the period.
        points_earned:
          type: number
          description: Points earned in the period.
        points_added:
          type: number
          description: Points added manually in the period.
        points_purchased:
          type: number
          description: >-
            Points purchased (e.g. via loyalty-card-points rewards) in the
            period.
        points_purchased_reversed:
          type: number
          description: Purchased points reversed (e.g. by reward refunds) in the period.
        points_subtracted:
          type: number
          description: Points subtracted manually in the period.
        points_expired:
          type: number
          description: Points expired in the period.
        points_spent:
          type: number
          description: Points spent (on rewards and order payments) in the period.
        points_refunded:
          type: number
          description: Points refunded in the period.
        points_returned:
          type: number
          description: Points returned in the period.
        points_locked:
          type: number
          description: Points locked in the period.
        points_unlocked:
          type: number
          description: Points unlocked in the period.
        pending_points_total:
          type: number
          description: Total pending points change in the period.
        pending_points_activated:
          type: number
          description: Pending points activated in the period.
        pending_points_canceled:
          type: number
          description: Pending points canceled in the period.
        object:
          type: string
          const: card_daily_report
          description: Object type marker. Always `card_daily_report`.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    X-App-Id:
      type: apiKey
      name: X-App-Id
      in: header
    X-App-Token:
      type: apiKey
      name: X-App-Token
      in: header

````