> ## Documentation Index
> Fetch the complete documentation index at: https://tahsil.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List ingested bank transactions

> Default read scope includes all authorized companies when no company header is provided.



## OpenAPI

````yaml /openapi/openapi.yaml get /banks/transactions
openapi: 3.1.0
info:
  title: Tahsil API
  version: 1.0.0
  description: >-
    Tahsil müşterilerinin web ve mobil uygulamalarda kullandığı tenant-scoped
    müşteri API sözleşmesi.
servers:
  - url: https://api.tahsil.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Operations - Health
    description: Public liveness and dependency readiness probes.
  - name: Identity - Auth
    description: User login, refresh and logout flows for token-based access.
  - name: Banking - Accounts
    description: Bank account aggregation endpoints available to customer tenants.
  - name: Banking - Transactions
    description: Bank transaction ingestion and retrieval endpoints.
  - name: Banking - Automation
    description: Tenant transaction matching rules, assignments and historical runs.
  - name: Banking - Polling
    description: Polling schedule definitions for bank connector queries.
  - name: Banking - Dashboard
    description: Flexible tenant dashboard analytics and widget query endpoints.
  - name: Audit - Connector Logs
    description: Customer-visible bank connector request/response audit trail.
  - name: Payments - Orchestration
    description: Tenant Virtual POS, rate plan and payment intent orchestration.
paths:
  /banks/transactions:
    get:
      tags:
        - Banking - Transactions
      summary: List ingested bank transactions
      description: >-
        Default read scope includes all authorized companies when no company
        header is provided.
      operationId: getBanksTransactions
      parameters:
        - $ref: '#/components/parameters/XCompanyId'
        - $ref: '#/components/parameters/XCompanyIds'
        - name: pagination
          in: query
          schema:
            type: string
            enum:
              - offset
              - cursor
        - name: cursor
          in: query
          schema:
            type: string
        - name: pageSize
          in: query
          description: Offset mode supports up to 250; cursor mode supports up to 100.
          schema:
            type: integer
            minimum: 1
            maximum: 250
        - name: bankCode
          in: query
          description: Single bank code or comma-separated allowlist.
          schema:
            type: string
        - name: currency
          in: query
          schema:
            type: string
        - name: subAccountKey
          in: query
          schema:
            type: string
        - name: incoming
          in: query
          schema:
            type: boolean
        - name: from
          in: query
          schema:
            type: string
            format: date-time
        - name: to
          in: query
          schema:
            type: string
            format: date-time
        - name: q
          in: query
          schema:
            type: string
            maxLength: 100
        - name: referenceSource
          in: query
          schema:
            type: string
        - name: referenceType
          in: query
          schema:
            type: string
        - name: referenceId
          in: query
          schema:
            type: string
        - name: tag
          in: query
          schema:
            type: string
        - name: includeAssignments
          in: query
          schema:
            type: boolean
        - name: automationStatus
          in: query
          schema:
            type: string
            enum:
              - legacy
              - pending
              - processing
              - retry
              - completed
              - dead
        - name: sortBy
          in: query
          schema:
            type: string
            enum:
              - transactionDate
              - fetchedAt
              - amount
              - balance
        - name: direction
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
      responses:
        '200':
          $ref: '#/components/responses/ListResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    XCompanyId:
      name: x-company-id
      in: header
      required: false
      schema:
        type: string
      description: >-
        Target tenant company id. Required for write operations on customer
        banking endpoints.
    XCompanyIds:
      name: x-company-ids
      in: header
      required: false
      schema:
        type: string
      description: >-
        Optional comma-separated company ids for read scope filtering. If
        omitted, all authorized companies are used.
  responses:
    ListResponse:
      description: Paginated list response
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: boolean
              result:
                type: array
                items:
                  type: object
                  additionalProperties: true
              paginate:
                type: object
                properties:
                  total:
                    type: integer
                  size:
                    type: integer
                  page:
                    type: integer
                  totalPage:
                    type: integer
          example:
            status: true
            result: []
            paginate:
              total: 0
              size: 25
              page: 1
              totalPage: 0
    ErrorResponse:
      description: Request failed
      content:
        application/json:
          schema:
            type: object
            required:
              - status
            properties:
              status:
                type: boolean
                const: false
              error:
                type: object
                additionalProperties: true
          example:
            status: false
            error:
              code: AUTHENTICATION_REQUIRED
              message: Authentication is required
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

## Related topics

- [Remove bank account connector](/api-reference/banking--accounts/remove-bank-account-connector.md)
- [List tenant transaction rules](/api-reference/banking--automation/list-tenant-transaction-rules.md)
- [List manual and automatic transaction assignments](/api-reference/banking--automation/list-manual-and-automatic-transaction-assignments.md)
- [List preview and backfill runs](/api-reference/banking--automation/list-preview-and-backfill-runs.md)
- [List normalized provider connection field metadata](/api-reference/banking--accounts/list-normalized-provider-connection-field-metadata.md)
