# List wallet transactions

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/wallets/{wallet_id}/transactions:
    get:
      summary: List wallet transactions
      deprecated: false
      description: >
        Retrieve all transactions related to a specific wallet in the
        closed-loop ecosystem.

        This endpoint provides a complete ledger-style view showing every debit
        and credit affecting the wallet, including the resulting balance after
        each transaction.


        Use this endpoint for displaying wallet statements, auditing fund flows,
        or building customer transaction history views.
      operationId: list-wallet-transactions
      tags:
        - Vrtx Closed loop/Transactions
        - Transactions
      parameters:
        - name: wallet_id
          in: path
          description: Wallet identifier to fetch transactions for.
          required: true
          example: 1e410c63-5614-4e7c-8d4a-b872871ac92a
          schema:
            type: string
        - name: external_reference
          in: query
          description: Filter by partner-supplied reference.
          required: false
          schema:
            type: string
        - name: status
          in: query
          description: Transaction status (for example POSTED).
          required: false
          schema:
            type: string
        - name: transaction_type
          in: query
          description: >-
            Transaction type such as payout, refund, withdrawal, fund, or
            transfer.
          required: false
          schema:
            type: string
            enum:
              - FUND
              - WITHDRAWAL
              - PAYOUT
              - REFUND
              - TRANSFER
              - REVERSAL
            description: Transaction type filter
            x-apidog-orders: []
            properties: {}
            x-apidog-ignore-properties: []
        - name: posted_from
          in: query
          description: Lower bound for posted_at timestamp.
          required: false
          schema: &ref_0
            $ref: '#/components/schemas/OffsetDateTime'
        - name: posted_to
          in: query
          description: Upper bound for posted_at timestamp.
          required: false
          schema: *ref_0
        - name: effective_from
          in: query
          description: Effective date lower bound (YYYY-MM-DD).
          required: false
          schema: &ref_1
            $ref: '#/components/schemas/LocalDate'
        - name: effective_to
          in: query
          description: Effective date upper bound (YYYY-MM-DD).
          required: false
          schema: *ref_1
        - name: limit
          in: query
          description: Maximum records per page (1..200).
          required: false
          schema:
            type: integer
            format: int32
        - name: cursor
          in: query
          description: Opaque cursor returned by previous responses.
          required: false
          schema:
            type: string
        - name: type
          in: query
          description: ''
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                x-apidog-orders: []
                properties: {}
                x-apidog-ignore-properties: []
              examples:
                WalletTransactionList:
                  summary: WalletTransactionList
                  value:
                    url: >-
                      /v1/wallets/1e410c63-5614-4e7c-8d4a-b872871ac92a/transactions
                    data:
                      - id: ab17f685-3531-46f3-a200-02e9d2d07f41
                        wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        account_number: '054200002027'
                        dr_cr: D
                        amount: '1.00'
                        amount_minor: 100
                        amount_signed: '-1.00'
                        balance_after: '0.00'
                        balance_after_minor: 0
                        currency: SAR
                        status: posted
                        type: transfer
                        posted_at: '2025-10-25T14:37:13.338Z'
                        created_at: '2025-10-25T14:37:13.338Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        external_reference: Transfer-1231233
                        description: Monthly settlement
                        counterparty:
                          wallet_id: 75304aff-2adc-4964-9ba8-a67eba92d311
                          account_number: '054200002019'
                          wallet_kind: BUSINESS
                        refunds: []
                        original_transaction: null
                    has_more: false
                    next_cursor: null
          headers: {}
          x-apidog-name: OK
        '401':
          description: Not Authorized
          content:
            application/json:
              schema: &ref_2
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    error_code: UNAUTHORIZED_ACCESS
                    error_message: You are not authorized to access this resource.
                    details:
                      - field: authorization
                        message: Valid Bearer token required
                        code: unauthorized_access
                    status_code: 401
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: Not Allowed
          content:
            application/json:
              schema: *ref_2
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    error_code: FORBIDDEN
                    error_message: Forbidden
                    details:
                      - field: authorization
                        message: Insufficient permissions to access this resource
                        code: forbidden
                    status_code: 403
          headers: {}
          x-apidog-name: Forbidden
      security:
        - bearerAuth3: []
          x-apidog:
            schemeGroups:
              - id: LyF9UMGxdGaQ69pOzfWp8
                schemeIds:
                  - bearerAuth3
            required: true
            use:
              id: LyF9UMGxdGaQ69pOzfWp8
            scopes:
              LyF9UMGxdGaQ69pOzfWp8:
                bearerAuth3: []
      x-apidog-folder: Vrtx Closed loop/Transactions
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1053095/apis/api-24814174-run
components:
  schemas:
    OffsetDateTime:
      type: string
      format: date-time
      examples:
        - '2022-03-10T16:15:50.000Z'
      x-apidog-folder: ''
    LocalDate:
      type: string
      format: date
      examples:
        - '2022-03-10T00:00:00.000Z'
      x-apidog-folder: ''
    ErrorResponse:
      type: object
      properties:
        error_code:
          type: string
        error_message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
        status_code:
          type: integer
          format: int32
      x-apidog-orders:
        - error_code
        - error_message
        - details
        - status_code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ErrorDetail:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
      x-apidog-orders:
        - field
        - message
        - code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth1:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
    bearerAuth2:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth3:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT issued by Keycloak. The client_id/azp in the token must map to a
        configured tenant (public, fai, neomrs; e.g., fai-sandbox -> fai) or
        requests will return 403.
    bearerAuth4:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.sandbox.vrtx.sa
    description: Sandbox
security:
  - bearer: []

```
