> ## 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 member benefit transactions

> Lists benefit transactions (benefit fulfillments) for a given program member, with cursor-based pagination.

Supports filtering by benefit ID and creation date.

A successful call records no activity.



## OpenAPI

````yaml /openapi/loyalties-v2.json get /v2/loyalties/programs/{programId}/members/{memberId}/benefits/transactions
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}/members/{memberId}/benefits/transactions:
    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]+$
      - name: memberId
        in: path
        required: true
        description: Identifies the member. Format `lmbr_[a-f0-9]+`.
        schema:
          type: string
          pattern: ^lmbr_[a-f0-9]+$
    get:
      tags:
        - Programs
      summary: List member benefit transactions
      description: >-
        Lists benefit transactions (benefit fulfillments) for a given program
        member, with cursor-based pagination.


        Supports filtering by benefit ID and creation date.


        A successful call records no activity.
      operationId: listMemberBenefitTransactions
      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 `-id`. Newest first. The
            same field cannot be used in both directions.
          schema:
            oneOf:
              - type: array
                items:
                  type: string
                  enum:
                    - id
                    - '-id'
              - type: string
                enum:
                  - id
                  - '-id'
              - type: 'null'
        - name: cursor
          in: query
          required: false
          description: >-
            Continues pagination. Pass the `cursor.next` value from a previous
            response. Format `lcrsbtx_[a-f0-9]+`. The cursor matches the filters
            and order of that response.
          schema:
            type:
              - string
              - 'null'
            pattern: ^lcrsbtx_[a-f0-9]+$
        - name: filters
          in: query
          required: false
          style: deepObject
          explode: true
          description: >-
            Filters the results. Pass a deep object, for example
            `filters[benefit_id][conditions][$is]=lben_...`. Fields combine
            through `junction`, which defaults to `AND`. Omit `filters` to apply
            no field filter.
          schema:
            oneOf:
              - $ref: >-
                  #/components/schemas/V2LoyaltiesProgramsMembersBenefitsTransactionsListRequestQuery
              - type: 'null'
      responses:
        '200':
          description: Paginated list of benefit transactions.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/V2LoyaltiesProgramsMembersBenefitsTransactionsListResponseBody
              examples:
                Benefit transaction list:
                  value:
                    data:
                      - id: lbtx_12f8c3d1571aa184e0
                        benefit_id: lben_128f4bba81947c8542
                        program_id: lprg_128f58429f4c4bf7b2
                        member_id: lmbr_128f962dbc8c4ba5dc
                        earning_rule_id: lern_128f57ec40cc4bf762
                        type: FULFILLMENT
                        details:
                          reason: AnnualProgram / Autumn Ethiopia
                          rejection: null
                          metadata:
                            event_id: evcus_12f8c3cf15eed6dde4
                            earning_item_id: lernei_128f57ec3b8c4bf761
                          result:
                            details:
                              material:
                                type: PRODUCT
                                product:
                                  id: prod_128f4baa45547c8530
                        status: APPROVED
                        created_at: '2026-09-01T08:39:36.028Z'
                        updated_at: null
                        object: benefit_transaction
                    cursor:
                      next: lcrsbtx_12f8c42751eed6de54
                      expires_at: '2026-09-01T08:51:04.072Z'
                    object: list
        '400':
          description: Invalid query parameters or pagination cursor.
          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 "^lcrsbtx_[a-f0-9]+$"
                    request_id: v-12f8c71a41b2ce9101
                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-12f8c71a41b2ce9102
                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-12f8c71a41b2ce9103
                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-12f8c71a41b2ce9104
                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-12f8c71a41b2ce9105
                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
                      [ -id, id ]
                    request_id: v-12f8c71a41b2ce9106
                Conflicting order values:
                  value:
                    code: 400
                    key: invalid_query_params
                    message: Invalid query params
                    details: Query cannot be ordered by 'id' and '-id' at the same time
                    request_id: v-12f8c71a41b2ce9107
        '404':
          description: Resource (program or member) 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_18f58429f4c4bf7b2
                    request_id: v-12f8c62fad93dba093
                    resource_id: lprg_18f58429f4c4bf7b2
                    resource_type: program
                Member not found:
                  value:
                    code: 404
                    key: not_found
                    message: Resource not found
                    details: Cannot find member with id lmbr_128f96dbc8c4ba5dc
                    request_id: v-12f8c64448dc2f8435
                    resource_id: lmbr_128f96dbc8c4ba5dc
                    resource_type: member
        '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:
    V2LoyaltiesProgramsMembersBenefitsTransactionsListRequestQuery:
      type: object
      description: >-
        Request query schema for **GET**
        `/v2/loyalties/programs/{programId}/members/{memberId}/benefits/transactions`.
      properties:
        junction:
          description: >-
            Joins the field filters. Allowed values are `AND` and `OR`. Defaults
            to `AND`.
          oneOf:
            - type: string
              enum:
                - AND
                - OR
            - type: 'null'
        benefit_id:
          description: Filters by benefit ID. Format `lben_[a-f0-9]+`.
          oneOf:
            - $ref: >-
                #/components/schemas/LoyaltiesProgramsMembersBenefitsTransactionsListRequestQueryBenefitId
            - type: 'null'
        created_at:
          description: Filters by creation date.
          oneOf:
            - $ref: '#/components/schemas/TransactionFilterDateConditions'
            - type: 'null'
      additionalProperties: false
      title: V2 Loyalties Programs Members Benefits Transactions List Request Query
    V2LoyaltiesProgramsMembersBenefitsTransactionsListResponseBody:
      title: V2 Loyalties Programs Members Benefits Transactions List Response Body
      type: object
      description: >-
        Response body schema for **GET**
        `/v2/loyalties/programs/{programId}/members/{memberId}/benefits/transactions`.
      allOf:
        - $ref: '#/components/schemas/MemberBenefitTransactionListResponse'
    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.
    LoyaltiesProgramsMembersBenefitsTransactionsListRequestQueryBenefitId:
      type: object
      description: >-
        ID filter conditions for benefit IDs. Values must match pattern
        `^lben_[a-f0-9]+$`. `$is`/`$is_not` accept a single value (string or
        1-element array); `$in`/`$not_in` accept a string or an array of 1-100
        values.
      properties:
        conditions:
          type: object
          minProperties: 1
          additionalProperties: false
          properties:
            $is:
              description: >-
                Matches one value. A string or a one-element array. Format
                `lben_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lben_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lben_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: >-
                Excludes one value. A string or a one-element array. Format
                `lben_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lben_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lben_[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 `lben_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lben_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lben_[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 `lben_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lben_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lben_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
      required:
        - conditions
      additionalProperties: false
    TransactionFilterDateConditions:
      type: object
      description: >-
        Date filter conditions. `$before`/`$after` accept an ISO date-time
        string. `$is`/`$more_than`/`$less_than` accept a non-negative integer
        number of days ago. `$has_value`/`$is_unknown` accept any single value
        and match rows where the field is set / not set. Single values may also
        be passed as 1-element arrays.
      properties:
        conditions:
          type: object
          minProperties: 1
          additionalProperties: false
          properties:
            $before:
              description: >-
                Matches dates before the given value. An ISO 8601 date-time, as
                a string or a one-element array.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $after:
              description: >-
                Matches dates after the given value. An ISO 8601 date-time, as a
                string or a one-element array.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is:
              description: >-
                Matches a date exactly the given number of days ago. A
                non-negative integer, as a string or a one-element array.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $more_than:
              description: >-
                Matches dates more than the given number of days ago. A
                non-negative integer, as a string or a one-element array.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $less_than:
              description: >-
                Matches dates less than the given number of days ago. A
                non-negative integer, as a string or a one-element array.
              oneOf:
                - type: string
                - type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $has_value:
              description: Matches when the field is set. The condition value is ignored.
              oneOf:
                - type: string
                - type: array
                  maxItems: 1
                - type: 'null'
            $is_unknown:
              description: >-
                Matches when the field is not set. The condition value is
                ignored.
              oneOf:
                - type: string
                - type: array
                  maxItems: 1
                - type: 'null'
      required:
        - conditions
      additionalProperties: false
    MemberBenefitTransactionListResponse:
      type: object
      description: Cursor-paginated list of benefit transactions.
      properties:
        data:
          type: array
          description: List of benefit transactions.
          items:
            $ref: '#/components/schemas/BenefitTransaction'
        cursor:
          description: Pagination cursor. `null` when there are no more results.
          oneOf:
            - type: object
              properties:
                next:
                  type: string
                  description: >-
                    Cursor to pass as the `cursor` query parameter to fetch the
                    next page (format `lcrsbtx_...`).
                expires_at:
                  type: string
                  format: date-time
                  description: Timestamp when the cursor expires.
              required:
                - next
                - expires_at
            - type: 'null'
        object:
          type: string
          description: Object type marker. Always `list`.
          const: list
      required:
        - data
        - cursor
        - object
    BenefitTransaction:
      description: A benefit transaction. Represents a benefit fulfillment.
      allOf:
        - $ref: '#/components/schemas/MemberTransactionBase'
        - type: object
          properties:
            id:
              type: string
              description: Unique benefit transaction identifier (format `lbtx_...`).
            benefit_id:
              type: string
              description: Unique identifier of the fulfilled benefit (format `lben_...`).
            earning_rule_id:
              type: string
              description: >-
                Unique identifier of the earning rule that triggered the
                fulfillment (format `lern_...`).
            type:
              type: string
              enum:
                - FULFILLMENT
              description: Transaction type. Always `FULFILLMENT`.
            details:
              description: Transaction details for the `FULFILLMENT` type.
              oneOf:
                - $ref: '#/components/schemas/BenefitTransactionDetails'
                - type: 'null'
            status:
              type: string
              enum:
                - PENDING
                - APPROVED
                - REJECTED
              description: >-
                Transaction status. `PENDING` - created, awaiting processing;
                `APPROVED` - completed successfully; `REJECTED` - rejected (see
                `details.rejection`).
            object:
              type: string
              const: benefit_transaction
              description: Object type marker. Always `benefit_transaction`.
    MemberTransactionBase:
      type: object
      properties:
        program_id:
          type: string
          description: Unique identifier of the loyalty program (format `lprg_...`).
        member_id:
          type: string
          description: Unique identifier of the program member (format `lmbr_...`).
        created_at:
          type: string
          format: date-time
          description: Timestamp when the transaction was created (ISO 8601).
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Timestamp when the transaction was last updated (ISO 8601), or
            `null`.
    BenefitTransactionDetails:
      type: object
      description: Details of a `FULFILLMENT` benefit transaction.
      properties:
        reason:
          type:
            - string
            - 'null'
          description: >-
            Human-readable reason for the fulfillment. Typically `{program name}
            / {earning rule name}`.
        rejection:
          description: >-
            Rejection details. Populated for `REJECTED` transactions. `null` for
            `APPROVED` and `PENDING`.
          oneOf:
            - $ref: '#/components/schemas/BenefitTransactionRejection'
            - type: 'null'
        metadata:
          $ref: '#/components/schemas/BenefitTransactionDetailsMetadata'
          description: Transaction metadata. Empty object when not set.
        result:
          description: >-
            Fulfillment result. Populated for `APPROVED` transactions. `null`
            for `REJECTED` and `PENDING`.
          oneOf:
            - type: object
              description: Benefit fulfillment result envelope.
              properties:
                details:
                  type: object
                  description: >-
                    Fulfillment payload. Shape depends on the benefit type
                    (`MATERIAL` or `DIGITAL`). Digital fulfillments also include
                    published voucher fields at this level.
                  properties:
                    material:
                      description: >-
                        Material benefit effect that was fulfilled. Present for
                        `MATERIAL` benefits. Absent for `DIGITAL` benefits.
                      oneOf:
                        - $ref: '#/components/schemas/BenefitMaterial'
                        - type: 'null'
                    digital:
                      description: >-
                        Digital benefit effect that was fulfilled. Present for
                        `DIGITAL` benefits. Absent for `MATERIAL` benefits.
                      oneOf:
                        - $ref: '#/components/schemas/BenefitDigital'
                        - type: 'null'
                    voucher_id:
                      type: string
                      description: Published voucher ID for digital fulfillments.
                    code:
                      type: string
                      description: Published voucher code for digital fulfillments.
                    balance:
                      type: number
                      description: >-
                        Gift voucher balance after credit. Present for
                        `GIFT_VOUCHERS` digital fulfillments. Distinct from
                        `digital.gift_vouchers.balance`, which is the configured
                        credit amount.
                  additionalProperties: true
            - type: 'null'
    BenefitTransactionRejection:
      type: object
      description: Rejection details for a benefit transaction.
      properties:
        reason:
          type: string
          description: >-
            Machine-readable rejection reason. Known values are `OUT_OF_STOCK`,
            `BENEFIT_NOT_FOUND`, `UNEXPECTED_ERROR`,
            `TRIGGER_LIMIT_COOLDOWN_NOT_PASSED`, and
            `TRIGGER_LIMIT_FREQUENCY_EXCEEDED`. Other error keys can be passed
            through, so treat this list as non-exhaustive.
        details:
          description: >-
            Additional rejection context. Stock, not-found, and unexpected-error
            rejections use a string. Trigger-limit rejections use an object.
          oneOf:
            - type: string
              description: >-
                Human-readable rejection message. Used for `OUT_OF_STOCK`,
                `BENEFIT_NOT_FOUND`, and `UNEXPECTED_ERROR`.
            - type: object
              title: Trigger-limit cooldown rejection details
              description: >-
                Trigger-limit cooldown rejection details. Returned when `reason`
                is `TRIGGER_LIMIT_COOLDOWN_NOT_PASSED`.
              properties:
                type:
                  type: string
                  const: COOLDOWN
                  description: Trigger-limit check that failed. Always `COOLDOWN`.
                remaining_ms:
                  type: number
                  description: >-
                    Milliseconds remaining before the earning rule cooldown
                    ends.
              required:
                - type
                - remaining_ms
              additionalProperties: false
            - type: object
              title: Trigger-limit frequency rejection details
              description: >-
                Trigger-limit frequency rejection details. Returned when
                `reason` is `TRIGGER_LIMIT_FREQUENCY_EXCEEDED`.
              properties:
                type:
                  type: string
                  const: FREQUENCY
                  description: Trigger-limit check that failed. Always `FREQUENCY`.
                current_count:
                  type: number
                  description: >-
                    Number of times the earning rule has already triggered in
                    the limited period.
                limit:
                  type: number
                  description: >-
                    Maximum number of times the earning rule may trigger in the
                    limited period.
              required:
                - type
                - current_count
                - limit
              additionalProperties: false
    BenefitTransactionDetailsMetadata:
      type: object
      description: Benefit transaction metadata written at fulfillment time.
      properties:
        event_id:
          type: string
          description: >-
            Unique identifier of the event that triggered the fulfillment.
            Custom events use the `evcus_` prefix; other source events use their
            own ID formats.
        earning_item_id:
          description: >-
            Identifier of the earning item that produced the benefit (format
            `lernei_...`). `null` when the earning item is unknown.
          oneOf:
            - type: string
              pattern: ^lernei_[a-f0-9]+$
            - type: 'null'
      additionalProperties: false
    BenefitMaterial:
      type: object
      description: >-
        Material benefit - a physical product or SKU. Exactly one of `product`
        or `sku` is required, matching the `type`. In requests, the other
        property may be omitted or set to `null`. In responses, it is omitted.
      properties:
        type:
          type: string
          enum:
            - PRODUCT
            - SKU
          description: Whether the benefit is a whole product or a specific SKU.
        product:
          description: >-
            Product reference. Required when `type` is `PRODUCT`. When `type` is
            `SKU`, requests may omit it or set it to `null`; responses omit it.
            The product must exist.
          oneOf:
            - $ref: '#/components/schemas/LoyaltyV2ActivityBenefitMaterialProduct'
            - type: 'null'
        sku:
          description: >-
            SKU reference. Required when `type` is `SKU`. When `type` is
            `PRODUCT`, requests may omit it or set it to `null`; responses omit
            it. The SKU must exist under the given product.
          oneOf:
            - $ref: '#/components/schemas/LoyaltyV2ActivityBenefitMaterialSKU'
            - type: 'null'
      additionalProperties: false
      allOf:
        - required:
            - type
        - if:
            properties:
              type:
                const: PRODUCT
          then:
            required:
              - product
            properties:
              product:
                $ref: '#/components/schemas/LoyaltyV2ActivityBenefitMaterialProduct'
              sku:
                type: 'null'
        - if:
            properties:
              type:
                const: SKU
          then:
            required:
              - sku
            properties:
              sku:
                $ref: '#/components/schemas/LoyaltyV2ActivityBenefitMaterialSKU'
              product:
                type: 'null'
    BenefitDigital:
      type: object
      description: >-
        Digital benefit: Reward sourced from a Voucherify campaign. Exactly one
        of `gift_vouchers` or `discount_coupons` is required, matching the
        `type`. In requests, the other property may be omitted or set to `null`.
        In responses, it is omitted. The referenced campaign must exist and its
        campaign type must match the benefit's digital type.
      properties:
        type:
          type: string
          enum:
            - GIFT_VOUCHERS
            - DISCOUNT_COUPONS
          description: Type of the digital reward.
        gift_vouchers:
          description: >-
            Gift vouchers configuration. Required when `type` is
            `GIFT_VOUCHERS`. When `type` is `DISCOUNT_COUPONS`, requests may
            omit it or set it to `null`; responses omit it.
          oneOf:
            - $ref: '#/components/schemas/LoyaltyV2ActivityBenefitDigitalGiftVouchers'
            - type: 'null'
        discount_coupons:
          description: >-
            Discount coupons configuration. Required when `type` is
            `DISCOUNT_COUPONS`. When `type` is `GIFT_VOUCHERS`, requests may
            omit it or set it to `null`; responses omit it.
          oneOf:
            - $ref: >-
                #/components/schemas/LoyaltyV2ActivityBenefitDigitalDiscountCoupons
            - type: 'null'
      additionalProperties: false
      allOf:
        - required:
            - type
        - if:
            properties:
              type:
                const: DISCOUNT_COUPONS
          then:
            required:
              - discount_coupons
            properties:
              discount_coupons:
                $ref: >-
                  #/components/schemas/LoyaltyV2ActivityBenefitDigitalDiscountCoupons
              gift_vouchers:
                type: 'null'
        - if:
            properties:
              type:
                const: GIFT_VOUCHERS
          then:
            required:
              - gift_vouchers
            properties:
              gift_vouchers:
                $ref: >-
                  #/components/schemas/LoyaltyV2ActivityBenefitDigitalGiftVouchers
              discount_coupons:
                type: 'null'
    LoyaltyV2ActivityBenefitMaterialProduct:
      type: object
      title: Benefit Material Product
      description: Product reference for a material benefit.
      properties:
        id:
          type: string
          pattern: ^prod_[a-f0-9]+
          description: Product ID, prefixed with `prod_`.
      required:
        - id
      additionalProperties: false
    LoyaltyV2ActivityBenefitMaterialSKU:
      type: object
      title: Benefit Material SKU
      description: SKU reference for a material benefit.
      properties:
        product_id:
          type: string
          pattern: ^prod_[a-f0-9]+
          description: ID of the product the SKU belongs to, prefixed with `prod_`.
        id:
          type: string
          pattern: ^sku_[a-f0-9]+
          description: SKU ID, prefixed with `sku_`.
      required:
        - product_id
        - id
      additionalProperties: false
    LoyaltyV2ActivityBenefitDigitalGiftVouchers:
      type: object
      title: Benefit Digital Gift Vouchers
      description: Gift vouchers digital benefit configuration.
      properties:
        campaign_id:
          type: string
          pattern: ^camp_[a-zA-Z0-9]+
          description: >-
            ID of the `GIFT_VOUCHERS` campaign the vouchers are sourced from,
            prefixed with `camp_`.
        balance:
          type: number
          minimum: 0
          maximum: 9007199254740991
          description: Balance loaded onto the gift voucher.
      required:
        - campaign_id
        - balance
      additionalProperties: false
    LoyaltyV2ActivityBenefitDigitalDiscountCoupons:
      type: object
      title: Benefit Digital Discount Coupons
      description: Discount coupons digital benefit configuration.
      properties:
        campaign_id:
          type: string
          pattern: ^camp_[a-zA-Z0-9]+
          description: >-
            ID of the `DISCOUNT_COUPONS` campaign the coupons are sourced from,
            prefixed with `camp_`.
      required:
        - campaign_id
      additionalProperties: false
  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.