> ## 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 order transactions

> Returns a cursor-paginated list of stored `PAY_WITH_POINTS` order transactions for every member in the program. Dry-run (`SIMULATED`) results aren't stored and don't appear.

Filter by `id`, `card_definition_id`, and `created_at`. Order by `id` (default `-id`, newest first). Use `card_definition_id` when the program has more than one point wallet.

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

Distinct from [List member order payments](/api-reference/programs/list-member-order-payments), which scopes the list to one member.

A successful call records no activity.



## OpenAPI

````yaml /openapi/loyalties-v2.json get /v2/loyalties/programs/{programId}/orders/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}/orders/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]+$
    get:
      tags:
        - Programs
      summary: List program order transactions
      description: >-
        Returns a cursor-paginated list of stored `PAY_WITH_POINTS` order
        transactions for every member in the program. Dry-run (`SIMULATED`)
        results aren't stored and don't appear.


        Filter by `id`, `card_definition_id`, and `created_at`. Order by `id`
        (default `-id`, newest first). Use `card_definition_id` when the program
        has more than one point wallet.


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


        Distinct from [List member order
        payments](/api-reference/programs/list-member-order-payments), which
        scopes the list to one member.


        A successful call records no activity.
      operationId: listProgramOrderTransactions
      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 `lcrsotx_[a-f0-9]+`. The cursor matches the filters
            and order of that response.
          schema:
            type:
              - string
              - 'null'
            pattern: ^lcrsotx_[a-f0-9]+$
        - name: filters
          in: query
          required: false
          style: deepObject
          explode: true
          description: >-
            Filters the results. Pass a deep object, for example
            `filters[id][conditions][$is]=lotx_12b8dbf787c67de367`. Fields
            combine through `junction`, which defaults to `AND`. Omit `filters`
            to apply no field filter.
          schema:
            oneOf:
              - $ref: >-
                  #/components/schemas/LoyaltiesProgramsOrdersTransactionsListRequestQuery
              - type: 'null'
      responses:
        '200':
          description: >-
            Cursor-paginated list of persisted pay-with-points order
            transactions.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/LoyaltiesProgramsOrdersTransactionsListResponseBody
              examples:
                List of order transactions:
                  value:
                    data:
                      - id: lotx_12ce946e1fc1c1f102
                        program_id: lprg_128f58429f4c4bf7b2
                        member_id: lmbr_128f962dbc8c4ba5dc
                        card_id: lcrd_128f962dbd8c4ba5e1
                        card_definition_id: lcdef_128f4a88414c4bed69
                        card_transaction_id: lctx_12ce946e1fc1c1f101
                        order_id: ord_12b4cdf5f30c158825
                        status: REJECTED
                        type: PAY_WITH_POINTS
                        details:
                          reason: Points spent on order payment
                          rejection:
                            reason: PAYMENT_EXCEEDS_ORDER_TOTAL_AMOUNT
                          metadata: {}
                          payment:
                            amount: 410
                            points_spent: 410
                            exchange_ratio: 1
                        created_at: '2026-07-30T14:16:21.376Z'
                        updated_at: '2026-07-30T14:16:23.003Z'
                        object: order_transaction
                      - id: lotx_12ce946408970a8cac
                        program_id: lprg_128f58429f4c4bf7b2
                        member_id: lmbr_128f962dbc8c4ba5dc
                        card_id: lcrd_128f962dbd8c4ba5e1
                        card_definition_id: lcdef_128f4a88414c4bed69
                        card_transaction_id: lctx_12ce946408970a8cab
                        order_id: ord_12b4cdf5f30c158825
                        status: REJECTED
                        type: PAY_WITH_POINTS
                        details:
                          reason: Points spent on order payment
                          rejection:
                            reason: PAYMENT_EXCEEDS_ORDER_TOTAL_AMOUNT
                          metadata: {}
                          payment:
                            amount: 410
                            points_spent: 410
                            exchange_ratio: 1
                        created_at: '2026-07-30T14:16:11.043Z'
                        updated_at: '2026-07-30T14:16:12.871Z'
                        object: order_transaction
                      - id: lotx_12cd011a3fdb3e35c5
                        program_id: lprg_128f58429f4c4bf7b2
                        member_id: lmbr_128f962dbc8c4ba5dc
                        card_id: lcrd_128f962dbd8c4ba5e1
                        card_definition_id: lcdef_128f4a88414c4bed69
                        card_transaction_id: lctx_12cd011a3fdb3e35c4
                        order_id: ord_12b4cdf5f30c158825
                        status: REJECTED
                        type: PAY_WITH_POINTS
                        details:
                          reason: Points spent on order payment
                          rejection:
                            reason: PAYMENT_EXCEEDS_ORDER_TOTAL_AMOUNT
                          metadata:
                            amount_limit: 20
                          payment:
                            amount: 20
                            points_spent: 20
                            exchange_ratio: 1
                        created_at: '2026-07-29T08:54:11.456Z'
                        updated_at: '2026-07-29T08:54:13.435Z'
                        object: order_transaction
                    cursor:
                      next: lcrsotx_1371c1ecc481a6d642
                      expires_at: '2026-12-04T08:17:32.371Z'
                    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 "^lcrsotx_[a-f0-9]+$"
                    request_id: v-130db36510c5e2759a
                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-130db36510c5e2759b
                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-130db36510c5e2759c
                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-130db36510c5e2759d
                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-130db36510c5e2759e
                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-130db36510c5e2759f
                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-130db36510c5e275a0
        '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_128f58429f4c4bf7b2
                    request_id: v-130db30e15859652a6
                    resource_id: lprg_128f58429f4c4bf7b2
                    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:
    LoyaltiesProgramsOrdersTransactionsListRequestQuery:
      title: Loyalties Programs Orders Transactions List Request Query
      type: object
      description: >-
        Request query schema for **GET**
        `/v2/loyalties/programs/{programId}/orders/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'
        id:
          description: Filters by order transaction ID. Format `lotx_[a-f0-9]+`.
          oneOf:
            - $ref: >-
                #/components/schemas/LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId
            - type: 'null'
        card_definition_id:
          description: Filters by card definition ID. Format `lcdef_[a-f0-9]+`.
          oneOf:
            - $ref: >-
                #/components/schemas/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId
            - type: 'null'
        created_at:
          description: Filters by creation date.
          oneOf:
            - $ref: '#/components/schemas/TransactionFilterDateConditions'
            - type: 'null'
      additionalProperties: false
    LoyaltiesProgramsOrdersTransactionsListResponseBody:
      title: Loyalties Programs Orders Transactions List Response Body
      type: object
      description: >-
        Response body schema for **GET**
        `/v2/loyalties/programs/{programId}/orders/transactions`.
      allOf:
        - $ref: '#/components/schemas/MemberOrderPaymentListResponse'
    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.
    LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId:
      type: object
      description: >-
        ID filter conditions for order transaction ids. Values must match
        pattern `^lotx_[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
                `lotx_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lotx_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lotx_[a-f0-9]+$
                  minItems: 1
                  maxItems: 1
                - type: 'null'
            $is_not:
              description: >-
                Excludes one value. A string or a one-element array. Format
                `lotx_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lotx_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lotx_[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 `lotx_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lotx_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lotx_[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 `lotx_[a-f0-9]+`.
              oneOf:
                - type: string
                  pattern: ^lotx_[a-f0-9]+$
                - type: array
                  items:
                    type: string
                    pattern: ^lotx_[a-f0-9]+$
                  minItems: 1
                  maxItems: 100
                - type: 'null'
      required:
        - conditions
      additionalProperties: false
      title: Loyalties Programs Members Orders Payments List Request Query Id
    LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId:
      type: object
      description: >-
        ID filter conditions for card definition IDs. Values must match pattern
        `^lcdef_[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
          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
      title: >-
        Loyalties Programs Members Rewards Purchases List Request Query Card
        Definition Id
    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
    MemberOrderPaymentListResponse:
      type: object
      description: Cursor-paginated list of order payment transactions.
      properties:
        data:
          type: array
          description: Order payment transactions.
          items:
            $ref: '#/components/schemas/OrderPaymentTransaction'
        cursor:
          description: Pagination cursor. `null` when there are no more results.
          oneOf:
            - type: object
              properties:
                next:
                  type: string
                  description: >-
                    Pass as the `cursor` query parameter to fetch the next page
                    (format `lcrsotx_...`).
                expires_at:
                  type: string
                  format: date-time
                  description: Timestamp when the cursor expires (ISO 8601).
            - type: 'null'
        object:
          type: string
          description: Object type marker. Always `list`.
          const: list
    OrderPaymentTransaction:
      description: >-
        An order transaction representing a pay-with-points payment. List
        endpoints return only persisted transactions; `SIMULATED` appears only
        on dry-run create responses.
      allOf:
        - $ref: '#/components/schemas/MemberCardTransactionBase'
        - type: object
          properties:
            id:
              type: string
              description: >-
                Identifies the order transaction (`lotx_...`). Absent on dry-run
                (`SIMULATED`) create responses, which are never persisted.
                Always present in list responses.
              pattern: ^lotx_[a-f0-9]+$
            card_definition_id:
              type: string
              description: Identifies the card definition (format `lcdef_...`).
              pattern: ^lcdef_[a-f0-9]+$
            card_transaction_id:
              type:
                - string
                - 'null'
              description: >-
                Identifies the underlying card transaction (format `lctx_...`).
                `null` for DRY_RUN (SIMULATED) transactions.
              pattern: ^lctx_[a-f0-9]+$
            order_id:
              type: string
              description: Identifies the paid order (format `ord_...`).
              pattern: ^ord_[a-f0-9]+$
            status:
              type: string
              enum:
                - PENDING
                - PROCESSING
                - APPROVED
                - REJECTED
                - SIMULATED
              description: >-
                Transaction status. `PENDING` - created, awaiting processing;
                `PROCESSING` - being processed; `APPROVED` - completed
                successfully; `REJECTED` - rejected (see `details.rejection`);
                `SIMULATED` - dry-run create result, not persisted (not returned
                by list).
            type:
              type: string
              enum:
                - PAY_WITH_POINTS
              description: Defines the transaction type. Always `PAY_WITH_POINTS`.
            details:
              description: Transaction details for the `PAY_WITH_POINTS` type.
              oneOf:
                - $ref: '#/components/schemas/OrderPaymentTransactionDetails'
                - type: 'null'
            object:
              type: string
              const: order_transaction
              description: Object type marker. Always `order_transaction`.
    MemberCardTransactionBase:
      allOf:
        - $ref: '#/components/schemas/MemberTransactionBase'
        - type: object
          properties:
            card_id:
              type: string
              description: >-
                Unique identifier of the loyalty card the points were spent from
                (format `lcrd_...`).
              pattern: ^lcrd_[a-f0-9]+$
    OrderPaymentTransactionDetails:
      type: object
      description: Details of a `PAY_WITH_POINTS` order transaction.
      properties:
        reason:
          type: string
          description: 'Human-readable reason: "Points spent on order payment".'
        rejection:
          description: Rejection details, present when the transaction was rejected.
          oneOf:
            - $ref: '#/components/schemas/OrderPaymentRejection'
            - type: 'null'
        metadata:
          type: object
          description: >-
            Transaction metadata. For pay-with-points transactions this contains
            the flattened payment limits used for the calculation:
            `amount_limit` for the `AMOUNT_LIMIT` type and/or `points_limit` for
            the `POINTS_LIMIT` type. Empty object when the default
            `CARD_BALANCE` limit was used or when not set.
          properties:
            amount_limit:
              type: integer
              description: Maximum amount limit applied to the payment (if any).
            points_limit:
              type: integer
              description: Maximum points limit applied to the payment (if any).
          additionalProperties: true
        payment:
          $ref: '#/components/schemas/OrderPaymentPaymentDetails'
        spending_cap:
          description: >-
            The cap that limited this payment. Create always returns it. Older
            list rows omit it.
          type: object
          properties:
            type:
              type: string
              enum:
                - CARD_SPENDING_GLOBAL_SPENDING_BASED_LIMIT
                - CARD_SPENDING_GLOBAL_TIME_BASED_LIMIT
                - CARD_SPENDING_TRANSACTIONS_LIMIT
                - REQUEST_PAYMENT_LIMIT
                - ORDER_TOTAL_AMOUNT
                - CARD_BALANCE_POINTS
              description: Identifies which cap limited the payment.
            unit:
              type: string
              enum:
                - POINTS
                - AMOUNT
              description: Whether `value` is points or an amount.
            value:
              type: number
              description: Cap value in `unit`.
          required:
            - type
            - unit
            - value
          additionalProperties: false
    MemberTransactionBase:
      type: object
      properties:
        program_id:
          type: string
          description: Unique identifier of the loyalty program (format `lprg_...`).
          pattern: ^lprg_[a-f0-9]+$
        member_id:
          type: string
          description: Unique identifier of the program member (format `lmbr_...`).
          pattern: ^lmbr_[a-f0-9]+$
        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`.
    OrderPaymentRejection:
      type: object
      description: Rejection details for a rejected order payment transaction.
      properties:
        reason:
          type: string
          description: >-
            Machine-readable rejection reason. Order-side: `ORDER_NOT_FOUND`,
            `PAYMENT_EXCEEDS_ORDER_TOTAL_AMOUNT`. Card-side (when the linked
            card transaction fails first): `NOT_ENOUGH_BALANCE`,
            `GLOBAL_SPENDING_LIMIT_EXCEEDED`,
            `TRANSACTION_SPENDING_LIMIT_EXCEEDED`.
        details:
          description: >-
            Structured rejection context. Omitted when the reason carries no
            extra data (`ORDER_NOT_FOUND`, `PAYMENT_EXCEEDS_ORDER_TOTAL_AMOUNT`,
            `NOT_ENOUGH_BALANCE`). For `GLOBAL_SPENDING_LIMIT_EXCEEDED`: `type`,
            `limit`, `spendings`. For `TRANSACTION_SPENDING_LIMIT_EXCEEDED`:
            `type`, `limit`.
          oneOf:
            - type: object
              additionalProperties: true
              properties:
                type:
                  type: string
                  description: Spending cap type that was exceeded.
                limit:
                  type: number
                  description: Configured spending limit.
                spendings:
                  type: number
                  description: >-
                    Projected total spendings that exceeded the limit. Present
                    for `GLOBAL_SPENDING_LIMIT_EXCEEDED`.
            - type: 'null'
    OrderPaymentPaymentDetails:
      type: object
      description: Payment calculation details.
      properties:
        id:
          type: string
          description: Payment identifier. Omitted when not set.
          pattern: ^ordpay_[a-f0-9]+$
        amount:
          type: number
          description: Amount of the order paid with points.
        points_spent:
          type: number
          description: Number of points spent on the payment.
        exchange_ratio:
          type: number
          description: >-
            Points-to-amount exchange ratio evaluated from the card definition's
            pay-with-points formula.
  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.