> ## 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.

# List card activities

> ⚠️ **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 a cursor-paginated list of activities recorded for the member's card
(created, assigned, unassigned, code generation succeeded/failed). Results can be
filtered by id, type and created_at. Returns 404 when the program, member or card
does not exist.




## OpenAPI

````yaml /openapi/loyalties-v2.json get /v2/loyalties/programs/{programId}/members/{memberId}/cards/{cardId}/activities
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}/activities:
    get:
      tags:
        - Programs
      summary: List card activities
      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 a cursor-paginated list of activities recorded for the member's
        card

        (created, assigned, unassigned, code generation succeeded/failed).
        Results can be

        filtered by id, type and created_at. Returns 404 when the program,
        member or card

        does not exist.
      operationId: listCardActivities
      parameters:
        - name: programId
          in: path
          required: true
          description: Loyalty program ID (format `lprg_[a-f0-9]+`).
          schema:
            type: string
            pattern: ^lprg_[a-f0-9]+$
        - 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: Loyalty card ID (format `lcrd_[a-f0-9]+`).
          schema:
            type: string
            pattern: ^lcrd_[a-f0-9]+$
        - name: limit
          in: query
          required: false
          description: >
            Maximum number of activities to return. Must be between 1 and 100.
            Defaults to 10 when not provided.
          schema:
            type:
              - integer
              - 'null'
            minimum: 1
            maximum: 100
            default: 10
        - name: order
          in: query
          required: false
          description: >
            Field(s) to order results by. Valid orders are `created_at` and
            `-created_at`;

            defaults to `-created_at`. Accepts a single value or an array of
            values

            (unrecognized values in the array form are ignored and the default
            order

            applies). Ordering by the same field in both directions
            simultaneously is

            rejected.
          schema:
            oneOf:
              - type: array
                items:
                  type: string
              - type: string
                enum:
                  - created_at
                  - '-created_at'
              - type: 'null'
        - name: cursor
          in: query
          required: false
          description: >
            Pagination cursor returned in the `cursor.next` field of a previous
            response.

            Must match the pattern `^lcrsacrd_[a-f0-9]+$`.
          schema:
            type:
              - string
              - 'null'
            pattern: ^lcrsacrd_[a-f0-9]+$
        - name: filters
          in: query
          required: false
          style: deepObject
          explode: true
          description: >
            Field-specific filter conditions, passed as a deep object, e.g.

            `filters[type][conditions][$is]=vl.card.created`. See the

            `CardActivityListFilters` schema for available fields and
            conditions.
          schema:
            oneOf:
              - $ref: '#/components/schemas/CardActivityListFilters'
              - type: 'null'
      responses:
        '200':
          description: Cursor-paginated list of card activities.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardActivityListResponse'
        '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:
    CardActivityListFilters:
      type: object
      description: |
        Filters for the card activities list.
      properties:
        junction:
          description: How multiple field filters are combined. Defaults to `AND`.
          oneOf:
            - type: string
              enum:
                - AND
                - OR
            - type: 'null'
        id:
          description: >-
            Filter by activity ID (ID conditions, values matching
            `^lacrd_[a-f0-9]+$`).
          oneOf:
            - $ref: '#/components/schemas/CardActivityIdFilter'
            - type: 'null'
        type:
          description: >-
            Filter by activity type (enum conditions over the card activity
            types).
          oneOf:
            - $ref: '#/components/schemas/CardActivityTypeFilter'
            - type: 'null'
        created_at:
          description: Filter by activity creation date (date conditions).
          oneOf:
            - $ref: '#/components/schemas/MemberDateFilter'
            - type: 'null'
      additionalProperties: false
    CardActivityListResponse:
      type: object
      description: Cursor-paginated list of card activities.
      properties:
        data:
          type: array
          description: Card activities on the current page.
          items:
            $ref: '#/components/schemas/CardActivity'
        cursor:
          description: Pagination cursor, or null when there are no more results.
          oneOf:
            - $ref: '#/components/schemas/MemberListCursor'
            - type: 'null'
        object:
          type: string
          const: list
          description: Object type marker, always `list`.
      required:
        - data
        - cursor
        - object
    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.
    CardActivityIdFilter:
      type: object
      description: >
        ID filter conditions for card activity IDs. At least one condition is
        required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $is:
              description: Value equals. Single value or an array with exactly one value.
              oneOf:
                - type: string
                  pattern: ^lacrd_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lacrd_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: >-
                Value does not equal. Single value or an array with exactly one
                value.
              oneOf:
                - type: string
                  pattern: ^lacrd_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lacrd_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $in:
              description: Value is one of. Single value or an array of 1-100 values.
              oneOf:
                - type: string
                  pattern: ^lacrd_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lacrd_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
            $not_in:
              description: Value is not one of. Single value or an array of 1-100 values.
              oneOf:
                - type: string
                  pattern: ^lacrd_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lacrd_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    CardActivityTypeFilter:
      type: object
      description: >
        Enum filter conditions for card activity types. At least one condition
        is

        required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $is:
              description: Value equals. Single value or an array with exactly one value.
              oneOf:
                - type: string
                  enum:
                    - vl.card.created
                    - vl.card.assigned
                    - vl.card.unassigned
                    - vl.card.code_generation.succeeded
                    - vl.card.code_generation.failed
                - type: array
                  items:
                    type: string
                    enum:
                      - vl.card.created
                      - vl.card.assigned
                      - vl.card.unassigned
                      - vl.card.code_generation.succeeded
                      - vl.card.code_generation.failed
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: >-
                Value does not equal. Single value or an array with exactly one
                value.
              oneOf:
                - type: string
                  enum:
                    - vl.card.created
                    - vl.card.assigned
                    - vl.card.unassigned
                    - vl.card.code_generation.succeeded
                    - vl.card.code_generation.failed
                - type: array
                  items:
                    type: string
                    enum:
                      - vl.card.created
                      - vl.card.assigned
                      - vl.card.unassigned
                      - vl.card.code_generation.succeeded
                      - vl.card.code_generation.failed
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $in:
              description: Value is one of. Single value or an array of 1-10 values.
              oneOf:
                - type: string
                  enum:
                    - vl.card.created
                    - vl.card.assigned
                    - vl.card.unassigned
                    - vl.card.code_generation.succeeded
                    - vl.card.code_generation.failed
                - type: array
                  items:
                    type: string
                    enum:
                      - vl.card.created
                      - vl.card.assigned
                      - vl.card.unassigned
                      - vl.card.code_generation.succeeded
                      - vl.card.code_generation.failed
                  minItems: 1
                  maxItems: 10
                - type: 'null'
            $not_in:
              description: Value is not one of. Single value or an array of 1-10 values.
              oneOf:
                - type: string
                  enum:
                    - vl.card.created
                    - vl.card.assigned
                    - vl.card.unassigned
                    - vl.card.code_generation.succeeded
                    - vl.card.code_generation.failed
                - type: array
                  items:
                    type: string
                    enum:
                      - vl.card.created
                      - vl.card.assigned
                      - vl.card.unassigned
                      - vl.card.code_generation.succeeded
                      - vl.card.code_generation.failed
                  minItems: 1
                  maxItems: 10
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    MemberDateFilter:
      type: object
      description: >
        Date filter conditions. `$before`/`$after` take date strings; `$is`,

        `$more_than`, `$less_than` take non-negative integers;

        `$has_value`/`$is_unknown` are presence checks. Each condition accepts a
        single

        value or an array with exactly one value. At least one condition is
        required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $before:
              description: Date is before the given date.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $after:
              description: Date is after the given date.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is:
              description: Date matches the given non-negative integer value.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $more_than:
              description: More than the given non-negative integer value.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $less_than:
              description: Less than the given non-negative integer value.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $has_value:
              description: Field has a value (presence check).
              oneOf:
                - type: string
                - type: array
                  maxItems: 1
                - type: 'null'
            $is_unknown:
              description: Field has no value (absence check).
              oneOf:
                - type: string
                - type: array
                  maxItems: 1
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    CardActivity:
      type: object
      description: An activity recorded for a card.
      properties:
        id:
          type: string
          pattern: ^lacrd_[a-f0-9]+$
          description: Unique activity ID.
        card_id:
          type: string
          pattern: ^lcrd_[a-f0-9]+$
          description: ID of the card the activity relates to.
        type:
          type: string
          enum:
            - vl.card.created
            - vl.card.assigned
            - vl.card.unassigned
            - vl.card.code_generation.succeeded
            - vl.card.code_generation.failed
          description: Activity type.
        data:
          type: object
          description: >
            Activity payload - snapshots of the objects involved at the time of
            the activity.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the activity was recorded (ISO 8601).
        group_id:
          type: string
          description: ID grouping activities recorded within the same request.
        source:
          $ref: '#/components/schemas/MemberActivitySource'
          description: Origin of the activity. Omitted when not available.
      required:
        - id
        - card_id
        - type
        - data
        - created_at
    MemberListCursor:
      type: object
      description: Pagination cursor.
      properties:
        next:
          type: string
          description: >-
            Cursor value to pass as the `cursor` query parameter to fetch the
            next page.
        expires_at:
          type: string
          format: date-time
          description: Timestamp when the cursor expires.
      required:
        - next
    MemberActivitySource:
      type: object
      description: Origin of an activity.
      properties:
        channel:
          type: string
          enum:
            - USER_PORTAL
            - API
            - CLIENT_API
            - INTERNAL
          description: Channel through which the activity was triggered.
        user:
          type: object
          description: >-
            The dashboard user who triggered the activity. Omitted when not
            applicable.
          properties:
            id:
              type: string
              description: User ID.
        api_key:
          type: object
          description: >-
            The API key used to trigger the activity. Omitted when not
            applicable.
          properties:
            name:
              type: string
              description: API key name.
            app_id:
              type: string
              description: Application ID of the API key.
            client_app_id:
              type: string
              description: Client application ID of the API key.
  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

````