> ## 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 program pending point buckets

> Returns a cursor-paginated list of pending point buckets for every member in the program. Every bucket has status `PENDING`. Pending points wait for activation (`PERIOD_BASED`, `FIXED_DATES`, or `EVENT_BASED`), following the card definition.

The list starts on the next project day. The current day's bucket is omitted because it's still accumulating.

Optionally, filter by `card_definition_id` when the program has more than one point wallet. Order by `date`.

Returns `404` when the program doesn't exist.

Distinct from [List card pending point buckets](/api-reference/programs/list-card-pending-point-buckets), which scopes the list to one member card.

Bucket IDs from this list are the `bucketId` for [Activate pending point bucket](/api-reference/programs/activate-pending-point-bucket) and [Cancel pending point bucket](/api-reference/programs/cancel-pending-point-bucket).

A successful call records no activity.



## OpenAPI

````yaml /openapi/loyalties-v2.json get /v2/loyalties/programs/{programId}/pending-points
openapi: 3.1.0
info:
  title: Voucherify API - Loyalty v2
  version: v2018-08-01
  description: >-
    Voucherify promotion engine REST API. Please see
    https://docs.voucherify.io/docs for more details.
  contact:
    name: Voucherify Team
    url: https://www.voucherify.io/contact-support
    email: support@voucherify.io
  termsOfService: https://www.voucherify.io/legal/subscription-agreement
  license:
    name: MIT
    url: https://github.com/voucherifyio/voucherify-js-sdk/blob/main/LICENSE
servers:
  - url: https://{cluster}.voucherify.io
    description: Base URL
    variables:
      cluster:
        default: api
        enum:
          - api
          - us1.api
          - as1.api
          - download
          - us1.download
          - as1.download
security: []
paths:
  /v2/loyalties/programs/{programId}/pending-points:
    parameters:
      - name: programId
        in: path
        required: true
        description: Identifies the loyalty program. Format `lprg_[a-f0-9]+`.
        schema:
          type: string
          pattern: ^lprg_[a-f0-9]+$
    get:
      tags:
        - Programs
      summary: List program pending point buckets
      description: >-
        Returns a cursor-paginated list of pending point buckets for every
        member in the program. Every bucket has status `PENDING`. Pending points
        wait for activation (`PERIOD_BASED`, `FIXED_DATES`, or `EVENT_BASED`),
        following the card definition.


        The list starts on the next project day. The current day's bucket is
        omitted because it's still accumulating.


        Optionally, filter by `card_definition_id` when the program has more
        than one point wallet. Order by `date`.


        Returns `404` when the program doesn't exist.


        Distinct from [List card pending point
        buckets](/api-reference/programs/list-card-pending-point-buckets), which
        scopes the list to one member card.


        Bucket IDs from this list are the `bucketId` for [Activate pending point
        bucket](/api-reference/programs/activate-pending-point-bucket) and
        [Cancel pending point
        bucket](/api-reference/programs/cancel-pending-point-bucket).


        A successful call records no activity.
      operationId: listProgramPendingPoints
      parameters:
        - name: limit
          in: query
          required: false
          description: >-
            Limits the page size to an integer from 1 to 100. Defaults to 10. A
            numeric string is accepted and rounded to the nearest integer.
          schema:
            type:
              - integer
              - 'null'
            minimum: 1
            maximum: 100
            default: 10
        - name: order
          in: query
          required: false
          description: >-
            Orders the results. Accepts one value or an array. Prefix a field
            with `-` for descending order. Defaults to `date`. Soonest
            activation first. The same field cannot be used in both directions.
            Rows with the same sort value are then ordered by `id` ascending.
          schema:
            oneOf:
              - type: array
                items:
                  type: string
                  enum:
                    - date
                    - '-date'
              - type: string
                enum:
                  - date
                  - '-date'
              - type: 'null'
        - name: cursor
          in: query
          required: false
          description: >-
            Continues pagination. Pass the `cursor.next` value from a previous
            response. Format `lcrscppb_[a-f0-9]+`. The cursor matches the
            filters and order of that response.
          schema:
            type:
              - string
              - 'null'
            pattern: ^lcrscppb_[a-f0-9]+$
        - name: filters
          in: query
          required: false
          style: deepObject
          explode: true
          description: >-
            Filters the results. Pass a deep object, for example
            `filters[card_definition_id][conditions][$is]=lcdef_128f495f720c4bec8c`.
            Fields combine through `junction`, which defaults to `AND`. Omit
            `filters` to apply no field filter.
          schema:
            oneOf:
              - $ref: >-
                  #/components/schemas/LoyaltiesProgramsPendingPointsListRequestQuery
              - type: 'null'
      responses:
        '200':
          description: Cursor-paginated list of pending point buckets.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/LoyaltiesProgramsPendingPointsListResponseBody
              examples:
                List of pending point buckets:
                  value:
                    data:
                      - id: lcppb_137d1015e794a9e758
                        card_id: lcrd_128f962dbd8c4ba5e1
                        card_definition_id: lcdef_128f4a88414c4bed69
                        program_id: lprg_128f58429f4c4bf7b2
                        card_type: INDIVIDUAL
                        member_id: lmbr_128f962dbc8c4ba5dc
                        points:
                          total: 150
                        date: '2026-12-13'
                        type: PERIOD_BASED
                        status: PENDING
                        created_at: '2026-12-02T17:52:19.445Z'
                        updated_at: null
                        object: card_pending_points_bucket
                      - id: lcppb_137d10161f94a9e75c
                        card_id: lcrd_128f962dbd8c4ba5df
                        card_definition_id: lcdef_128f495f720c4bec8c
                        program_id: lprg_128f58429f4c4bf7b2
                        card_type: INDIVIDUAL
                        member_id: lmbr_128f962dbc8c4ba5dc
                        points:
                          total: 10
                        date: '2026-12-13'
                        type: PERIOD_BASED
                        status: PENDING
                        created_at: '2026-12-02T17:52:19.703Z'
                        updated_at: null
                        object: card_pending_points_bucket
                      - id: lcppb_138a328e08ab9547fc
                        card_id: lcrd_12fa668cdbe025dac6
                        card_definition_id: lcdef_128f49963c0c4becb7
                        program_id: lprg_128f58429f4c4bf7b2
                        card_type: INDIVIDUAL
                        member_id: lmbr_12fa668cda6025dac2
                        points:
                          total: 20
                        date: '2026-12-23'
                        type: FIXED_DATES
                        status: PENDING
                        created_at: '2026-10-08T07:43:10.653Z'
                        updated_at: null
                        object: card_pending_points_bucket
                    cursor:
                      next: lcrscppb_136fb597815e42e9ec
                      expires_at: '2026-12-02T18:06:41.605Z'
                    object: list
        '400':
          description: >-
            The query failed validation, the cursor is invalid or expired, or
            the cursor doesn't match the query.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Invalid cursor format:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: Property .cursor must match pattern "^lcrscppb_[a-f0-9]+$"
                    request_id: v-12d75fbdd02d464374
                Cursor invalid or expired:
                  value:
                    code: 400
                    key: invalid_or_expired_cursor
                    message: Invalid or expired cursor
                    details: The provided cursor is invalid or has expired
                    request_id: v-12d75fbdd02d464373
                Cursor does not match query:
                  value:
                    code: 400
                    key: cursor_and_query_mismatch
                    message: Cursor and query mismatch
                    details: >-
                      The provided cursor does not match the query, either the
                      cursor is invalid or the query has changed
                    request_id: v-12d75fbdd02d464375
                Limit too high:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: Property .limit cannot be greater than 100
                    request_id: v-12d75fbdd02d464376
                Limit too low:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: Property .limit cannot be lower than 1
                    request_id: v-12d75fbdd02d464377
                Unsupported order value:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: >-
                      Property .order must be equal to one of the allowed values
                      [ date, -date ]
                    request_id: v-12d75fbdd02d464378
                Conflicting order values:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: >-
                      Query cannot be ordered by 'date' and '-date' at the same
                      time
                    request_id: v-12d75fbdd02d464379
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Program not found:
                  value:
                    code: 404
                    key: not_found
                    message: Resource not found
                    details: Cannot find program with id lprg_128f5429f4c4bf7b2
                    request_id: v-12d749a01991f0e278
                    resource_id: lprg_128f5429f4c4bf7b2
                    resource_type: program
                Program id pattern mismatch:
                  value:
                    code: 404
                    key: not_found
                    message: Resource not found
                    details: Cannot find program with id non-existent-program-id
                    request_id: v-12d749a01991f0e279
                    resource_id: non-existent-program-id
                    resource_type: program
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Internal server error:
                  value:
                    code: 500
                    key: api_error
                    message: >-
                      Something went wrong. Don't worry, your campaigns are
                      still safe and the Voucherify Team has been notified.
                      Check out our Help Center and forums for help, or head
                      back to home.
      security:
        - X-App-Id: []
          X-App-Token: []
        - bearerAuth: []
components:
  schemas:
    LoyaltiesProgramsPendingPointsListRequestQuery:
      title: Loyalties Programs Pending Points List Request Query
      description: >-
        Request query schema for **GET**
        `/v2/loyalties/programs/{programId}/pending-points`.
      allOf:
        - $ref: '#/components/schemas/CardPointsListQuery'
      unevaluatedProperties: false
    LoyaltiesProgramsPendingPointsListResponseBody:
      title: Loyalties Programs Pending Points List Response Body
      type: object
      description: >-
        Response body schema for **GET**
        `/v2/loyalties/programs/{programId}/pending-points`.
      allOf:
        - $ref: '#/components/schemas/CardPendingPointsListResponse'
    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: Unique identifier of the request that produced the error.
        resource_id:
          type: string
          description: Unique identifier of the resource that produced the error.
        resource_type:
          type: string
          description: Type of the resource that produced the error.
    CardPointsListQuery:
      type: object
      properties:
        junction:
          description: >-
            Joins the field filters. Allowed values are `AND` and `OR`. Defaults
            to `AND`.
          oneOf:
            - type: string
              enum:
                - AND
                - OR
            - type: 'null'
        card_definition_id:
          description: Filters by card definition ID. Format `lcdef_[a-f0-9]+`.
          oneOf:
            - $ref: '#/components/schemas/CardDefinitionIdFilterConditions'
            - type: 'null'
    CardPendingPointsListResponse:
      type: object
      description: Cursor-paginated list of pending point buckets.
      properties:
        data:
          type: array
          description: Pending point buckets on the current page.
          items:
            $ref: '#/components/schemas/CardPendingPointsBucket'
        cursor:
          description: Pagination cursor, or `null` when there are no more results.
          oneOf:
            - $ref: '#/components/schemas/ListCursor'
            - type: 'null'
        object:
          type: string
          const: list
          description: Object type marker, always `list`.
      required:
        - data
        - cursor
        - object
    CardDefinitionIdFilterConditions:
      type: object
      description: >-
        ID conditions. Format `lcdef_[a-f0-9]+`. At least one condition is
        required.
      properties:
        conditions:
          type: object
          minProperties: 1
          properties:
            $is:
              description: >-
                Matches one value. A string or a one-element array. Format
                `lcdef_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lcdef_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lcdef_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: >-
                Excludes one value. A string or a one-element array. Format
                `lcdef_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lcdef_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lcdef_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $in:
              description: >-
                Matches any of the values. A string or an array of 1 to 100
                values. Format `lcdef_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lcdef_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lcdef_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
            $not_in:
              description: >-
                Excludes any of the values. A string or an array of 1 to 100
                values. Format `lcdef_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lcdef_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lcdef_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
          additionalProperties: false
      required:
        - conditions
      additionalProperties: false
    CardPendingPointsBucket:
      description: A pending point bucket of a card.
      allOf:
        - $ref: '#/components/schemas/CardBucketBase'
        - type: object
          properties:
            id:
              type: string
              pattern: ^lcppb_[a-f0-9]+$
              description: Unique pending point bucket ID.
            points:
              type: object
              description: Points held in the bucket.
              properties:
                total:
                  type: number
                  description: Number of pending points in the bucket.
              required:
                - total
            date:
              type: string
              format: date
              description: >-
                Scheduled activation date of the pending points (`YYYY-MM-DD`).
                For the `EVENT_BASED` type this is the cancellation deadline.
            type:
              type: string
              enum:
                - PERIOD_BASED
                - FIXED_DATES
                - EVENT_BASED
              description: Pending points activation type from the card definition.
            status:
              type: string
              enum:
                - PENDING
                - ACTIVATED
                - CANCELED
                - DELETED
              description: Bucket status.
            object:
              type: string
              const: card_pending_points_bucket
              description: Object type marker, always `card_pending_points_bucket`.
          required:
            - id
            - card_type
            - points
            - date
            - type
            - status
            - object
    ListCursor:
      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
        - expires_at
    CardBucketBase:
      type: object
      properties:
        card_id:
          type: string
          pattern: ^lcrd_[a-f0-9]+$
          description: ID of the card the bucket belongs to.
        card_definition_id:
          type: string
          pattern: ^lcdef_[a-f0-9]+$
          description: ID of the card definition of the card.
        program_id:
          type: string
          pattern: ^lprg_[a-f0-9]+$
          description: ID of the loyalty program.
        member_id:
          type: string
          pattern: ^lmbr_[a-f0-9]+$
          description: ID of the member owning the card.
        card_type:
          type: string
          enum:
            - INDIVIDUAL
          description: Card type. Currently, only `INDIVIDUAL` is supported.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the bucket was created (ISO 8601).
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Timestamp when the bucket was last updated (ISO 8601), or `null`.
      required:
        - card_id
        - card_definition_id
        - program_id
        - member_id
        - card_type
        - created_at
        - updated_at
  securitySchemes:
    X-App-Id:
      type: apiKey
      name: X-App-Id
      in: header
    X-App-Token:
      type: apiKey
      name: X-App-Token
      in: header
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.