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

# Export a transaction statement (CSV)

> Every movement on your account in a date range, oldest first, as CSV: transfers, their fees, reversals, deposits and everything else, one row each.
Each row carries `clientReference` where you supplied one (on transfers, their fee rows
and their reversals), plus `transferCode` and, on reversals, `originalReference`, so it can
be matched line by line against your own ledger.
`dateFrom` and `dateTo` are required and accept a date (YYYY-MM-DD, whole day, UTC) or an
RFC 3339 timestamp. `dateTo` is exclusive for timestamps. The range may span at most 31 days.



## OpenAPI

````yaml /openapi.json get /transactions/export
openapi: 3.0.0
info:
  description: |-
    Hyparrow payment gateway API. Authenticate server-to-server
    requests with your API key credentials.
  title: Hyparrow API
  termsOfService: https://hyparrow.cloud/terms
  contact:
    name: Hyparrow Support
    email: support@hyparrow.com
  version: '1.0'
servers:
  - url: https://api.hyparrow.cloud/api/v1
    description: Production
  - url: https://sandbox.hyparrow.cloud/api/v1
    description: Sandbox - simulated providers, test keys only, no real money
security: []
paths:
  /transactions/export:
    get:
      tags:
        - Transactions
      summary: Export a transaction statement (CSV)
      description: >-
        Every movement on your account in a date range, oldest first, as CSV:
        transfers, their fees, reversals, deposits and everything else, one row
        each.

        Each row carries `clientReference` where you supplied one (on transfers,
        their fee rows

        and their reversals), plus `transferCode` and, on reversals,
        `originalReference`, so it can

        be matched line by line against your own ledger.

        `dateFrom` and `dateTo` are required and accept a date (YYYY-MM-DD,
        whole day, UTC) or an

        RFC 3339 timestamp. `dateTo` is exclusive for timestamps. The range may
        span at most 31 days.
      parameters:
        - description: Start (YYYY-MM-DD or RFC 3339)
          name: dateFrom
          in: query
          required: true
          schema:
            type: string
        - description: End (YYYY-MM-DD inclusive, or RFC 3339 exclusive)
          name: dateTo
          in: query
          required: true
          schema:
            type: string
        - description: Only this transaction type
          name: type
          in: query
          schema:
            type: string
      responses:
        '200':
          description: CSV
          content:
            text/csv:
              schema:
                type: string
      security:
        - ApiKeyAuth: []
          ApiSecretAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Your API key, sent in the "X-API-Key" header. Every endpoint needs the
        key and the secret together; a request carrying only one of the pair is
        rejected with 401.
      type: apiKey
      name: X-API-Key
      in: header
    ApiSecretAuth:
      description: >-
        Your API secret, sent in the "X-API-Secret" header alongside the API key
        on every request.
      type: apiKey
      name: X-API-Secret
      in: header

````