# List transactions

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/transactions:
    get:
      summary: List transactions
      deprecated: false
      description: >
        Retrieve all transactions recorded in the closed-loop system.

        You can optionally filter results by account number, transaction type,
        status, or date range.


        If no filters are applied, the endpoint returns all transactions in the
        system (paginated).

        This endpoint is useful for reconciliation, reporting, and audit
        visibility across all internal movements — including funding, payouts,
        refunds, transfers, and withdrawals.
      operationId: list-transactions
      tags:
        - Vrtx Closed loop/Transactions
        - Transactions
      parameters:
        - name: business_id
          in: query
          description: Limit transactions to a given business.
          required: false
          schema:
            type: string
        - name: wallet_id
          in: query
          description: Limit to a specific wallet UUID.
          required: false
          schema:
            type: string
        - name: account_number
          in: query
          description: Filter by ledger account number.
          required: false
          schema:
            type: string
        - name: external_reference
          in: query
          description: Filter by partner 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 fund, payout, refund, transfer, or
            withdrawal.
          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 (ISO).
          required: false
          schema: &ref_0
            $ref: '#/components/schemas/OffsetDateTime'
        - name: posted_to
          in: query
          description: Upper bound for posted_at (ISO).
          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 a previous page.
          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:
                TransactionList:
                  summary: TransactionList
                  value:
                    url: /v1/transactions
                    data:
                      - id: 630a552d-97e3-4ae0-8dc9-c373ee1fd86a
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: WD-0012345
                        description: 'Withdraw: Cash-out'
                        status: posted
                        type: withdrawal
                        amount: '10.00'
                        amount_minor: 1000
                        currency: SAR
                        posted_at: '2025-10-25T14:42:27.201Z'
                        created_at: '2025-10-25T14:42:27.201Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 7eb7f5e0-1ecd-4bc7-83ec-d94eb6e49726
                        debit_account_number: '054200001011'
                        credit_wallet_id: 6546c5d2-4fbb-44b4-afd2-f20742f553a5
                        credit_account_number: '054200001029'
                      - id: ab17f685-3531-46f3-a200-02e9d2d07f41
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: Transfer-1231233
                        description: Monthly settlement
                        status: posted
                        type: transfer
                        amount: '1.00'
                        amount_minor: 100
                        currency: SAR
                        posted_at: '2025-10-25T14:37:13.338Z'
                        created_at: '2025-10-25T14:37:13.338Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        debit_account_number: '054200002027'
                        credit_wallet_id: 75304aff-2adc-4964-9ba8-a67eba92d311
                        credit_account_number: '054200002019'
                      - id: 4e0f5b1f-c449-4083-a408-bfe1355a3b6b
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: REF-123456789
                        description: 'Refund: PO-0013579'
                        status: posted
                        type: refund
                        amount: '10.00'
                        amount_minor: 1000
                        currency: SAR
                        posted_at: '2025-10-25T14:35:46.011Z'
                        created_at: '2025-10-25T14:35:46.011Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        debit_account_number: '054200002027'
                        credit_wallet_id: 7eb7f5e0-1ecd-4bc7-83ec-d94eb6e49726
                        credit_account_number: '054200001011'
                      - id: b6327558-741e-411c-866b-0eec8ea26005
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: PO-0013579
                        description: 'Payout: Vendor settlement'
                        status: posted
                        type: payout
                        amount: '10.00'
                        amount_minor: 1000
                        currency: SAR
                        posted_at: '2025-10-25T14:34:04.254Z'
                        created_at: '2025-10-25T14:34:04.254Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 7eb7f5e0-1ecd-4bc7-83ec-d94eb6e49726
                        debit_account_number: '054200001011'
                        credit_wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        credit_account_number: '054200002027'
                      - id: c31b124b-0034-4aec-a795-8a4ba3abf084
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: WD-0011221
                        description: 'Withdraw: Cash-out'
                        status: posted
                        type: withdrawal
                        amount: '2.00'
                        amount_minor: 200
                        currency: SAR
                        posted_at: '2025-10-25T09:03:48.612Z'
                        created_at: '2025-10-25T09:03:48.612Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        debit_account_number: '054200002027'
                        credit_wallet_id: 6546c5d2-4fbb-44b4-afd2-f20742f553a5
                        credit_account_number: '054200001029'
                      - id: 104f4d45-3cac-4dad-9bdb-d344c6f84e2f
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: Fees-invoice-12344
                        description: Monthly settlement
                        status: posted
                        type: transfer
                        amount: '0.50'
                        amount_minor: 50
                        currency: SAR
                        posted_at: '2025-10-25T08:51:20.005Z'
                        created_at: '2025-10-25T08:51:20.005Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 75304aff-2adc-4964-9ba8-a67eba92d311
                        debit_account_number: '054200002019'
                        credit_wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        credit_account_number: '054200002027'
                      - id: 71cc97ca-f5a4-4e0f-8895-3e8fb782b78e
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: REFUND-INV-1232
                        description: 'Refund: PO-001234'
                        status: posted
                        type: refund
                        amount: '1.00'
                        amount_minor: 100
                        currency: SAR
                        posted_at: '2025-10-25T08:35:03.944Z'
                        created_at: '2025-10-25T08:35:03.944Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        debit_account_number: '054200002027'
                        credit_wallet_id: 7eb7f5e0-1ecd-4bc7-83ec-d94eb6e49726
                        credit_account_number: '054200001011'
                      - id: 4fca935b-7c2f-4f6d-a376-7a9969e2e82b
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: PO-001234
                        description: 'Payout: Vendor settlement'
                        status: posted
                        type: payout
                        amount: '1.00'
                        amount_minor: 100
                        currency: SAR
                        posted_at: '2025-10-25T08:25:41.344Z'
                        created_at: '2025-10-25T08:25:41.344Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 7eb7f5e0-1ecd-4bc7-83ec-d94eb6e49726
                        debit_account_number: '054200001011'
                        credit_wallet_id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        credit_account_number: '054200002027'
                      - id: e1cfc53e-b0af-4bdf-b33a-2ee7100a613a
                        business_id: 9fa5cea8-6edb-4196-800f-8809e08f1365
                        external_reference: INV-12345111
                        description: 'Fund: Funding for marketplace float'
                        status: posted
                        type: fund
                        amount: '1000.00'
                        amount_minor: 100000
                        currency: SAR
                        posted_at: '2025-10-25T07:48:18.345Z'
                        created_at: '2025-10-25T07:48:18.345Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 89dc25e6-1c92-4fc7-b533-1f1c76c13f58
                        debit_account_number: '099800003032'
                        credit_wallet_id: 1184dd97-0a2f-410f-9c3c-3e3da3aa778d
                        credit_account_number: '099800003024'
                      - id: bd055b28-5ae0-44e6-bf5c-ad5856caa039
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        external_reference: WD-001
                        description: 'Withdraw: Cash-out'
                        status: posted
                        type: withdrawal
                        amount: '50.00'
                        amount_minor: 5000
                        currency: SAR
                        posted_at: '2025-10-25T06:45:56.110Z'
                        created_at: '2025-10-25T06:45:56.110Z'
                        effective_date: '2025-10-25T00:00:00.000Z'
                        debit_wallet_id: 7eb7f5e0-1ecd-4bc7-83ec-d94eb6e49726
                        debit_account_number: '054200001011'
                        credit_wallet_id: 6546c5d2-4fbb-44b4-afd2-f20742f553a5
                        credit_account_number: '054200001029'
                    has_more: true
                    next_cursor: >-
                      MjAyNS0xMC0yNVQwNjo0NTo1Ni4xMTA0MTNafGJkMDU1YjI4LTVhZTAtNDRlNi1iZjVjLWFkNTg1NmNhYTAzOXw1
          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: iVrpWz2sgKXHc_wh9Wo3t
                schemeIds:
                  - bearerAuth3
            required: true
            use:
              id: iVrpWz2sgKXHc_wh9Wo3t
            scopes:
              iVrpWz2sgKXHc_wh9Wo3t:
                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-24814172-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: []

```
