> ## Documentation Index
> Fetch the complete documentation index at: https://sure-917046f5-mintlify-docs-update-1787365312803.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List transfers



## OpenAPI

````yaml /openapi.yaml get /api/v1/transfers
openapi: 3.0.3
info:
  title: Sure API
  version: v1
  description: OpenAPI documentation generated from executable request specs.
servers:
  - url: https://app.sure.am
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
paths:
  /api/v1/transfers:
    get:
      tags:
        - Transfers
      summary: List transfers
      parameters:
        - name: page
          in: query
          required: false
          description: 'Page number (default: 1)'
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: 'Items per page (default: 25, max: 100)'
          schema:
            type: integer
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - pending
              - confirmed
          description: Filter by transfer status
        - name: account_id
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filter transfers involving this account
        - name: start_date
          in: query
          required: false
          schema:
            type: string
            format: date
          description: Filter transfers from this date
        - name: end_date
          in: query
          required: false
          schema:
            type: string
            format: date
          description: Filter transfers until this date
      responses:
        '200':
          description: transfers listed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferDecisionCollection'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: insufficient scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: invalid filter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    TransferDecisionCollection:
      type: object
      required:
        - transfers
        - pagination
      properties:
        transfers:
          type: array
          items:
            $ref: '#/components/schemas/TransferDecision'
        pagination:
          $ref: '#/components/schemas/Pagination'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
          nullable: true
        details:
          oneOf:
            - type: array
              items:
                type: string
            - type: object
          nullable: true
        errors:
          type: array
          items:
            type: string
          nullable: true
          description: >-
            Validation error messages (alternative to details used by trades,
            valuations, etc.)
    TransferDecision:
      type: object
      required:
        - id
        - status
        - date
        - amount
        - amount_cents
        - currency
        - transfer_type
        - inflow_transaction
        - outflow_transaction
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
            - confirmed
        date:
          type: string
          format: date
        amount:
          type: string
        amount_cents:
          type: integer
          description: Absolute transfer amount in currency minor units
        currency:
          type: string
        transfer_type:
          type: string
          enum:
            - transfer
            - liability_payment
            - loan_payment
        notes:
          type: string
          nullable: true
        inflow_transaction:
          $ref: '#/components/schemas/TransferTransactionSide'
        outflow_transaction:
          $ref: '#/components/schemas/TransferTransactionSide'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Pagination:
      type: object
      required:
        - page
        - per_page
        - total_count
        - total_pages
      properties:
        page:
          type: integer
          minimum: 1
        per_page:
          type: integer
          minimum: 1
        total_count:
          type: integer
          minimum: 0
        total_pages:
          type: integer
          minimum: 0
    TransferTransactionSide:
      type: object
      required:
        - id
        - entry_id
        - date
        - amount
        - amount_cents
        - currency
        - name
        - kind
        - account
      properties:
        id:
          type: string
          format: uuid
        entry_id:
          type: string
          format: uuid
        date:
          type: string
          format: date
        amount:
          type: string
        amount_cents:
          type: integer
          description: Signed amount in currency minor units
        currency:
          type: string
        name:
          type: string
        kind:
          type: string
        account:
          type: object
          required:
            - id
            - name
            - account_type
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
            account_type:
              type: string
              nullable: true
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      name: X-Api-Key
      in: header
      description: API key for authentication. Generate one from your account settings.

````