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

# Export Treasury transactions

> Exports the same tenant-scoped, non-PII transaction view as a CSV file for reconciliation and finance workflows.

## What this endpoint does

Exports the same tenant-scoped, non-PII transaction view as a CSV file for reconciliation and finance workflows.

## When to use it

Use it for a bounded accounting export after selecting an external reference, movement kind, operation status, or date range.

## Before you call

Authenticate with `treasury:read`. The export supports up to 5,000 rows; if the selected result is larger, narrow the filters and request another export.

## Money and balance effect

This is a read-only request. It does not reserve, debit, credit, or settle money.

## States and completion

The file is a point-in-time transaction snapshot. A linked operation may still be accepted, held, or submitted, so CSV presence is not proof of external settlement.

## Safe retries

GET requests are read-only and may be retried with normal exponential backoff. Do not send an `Idempotency-Key`.

Read [Operations and reconciliation](/treasury/operations-and-reconciliation) for the complete workflow.


## OpenAPI

````yaml /api-reference/openapi.json get /v1/treasury/transactions/export
openapi: 3.0.0
info:
  title: Wayex API
  description: >-
    Wayex APIs for direct customer payment routes and isolated, prefunded
    Treasury accounts. Each API key is bound to one tenant account and its own
    wallet, settings, webhooks, and reporting.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.sandbox.wayex.com
    description: Sandbox integration environment
security:
  - Bearer: []
  - ApiKey: []
tags:
  - name: Treasury
    description: >-
      Prefunded AUD and stablecoin wallets for one isolated tenant account.
      Fund, pay, convert, withdraw, track, and reconcile without selecting
      another account.
  - name: Customers
    description: >-
      Onboard end customers, run verification, and manage each customer's
      entitlements.
  - name: Payment routes
    description: >-
      Standing deposit instructions per customer. When a customer funds a route,
      Wayex auto-converts at the live rate and pays out/sends — no quote, no
      lock.
  - name: Transfers
    description: >-
      Read the conversion records produced when customers fund payment routes —
      the live activity feed and per-conversion lifecycle timeline.
  - name: Rates
    description: >-
      The live indicative AUD↔stablecoin rate right now — the all-in rate Wayex
      quotes. Indicative only; the binding price is struck when a route's funds
      land.
  - name: Revenue
    description: Your developer-fee revenue over time.
  - name: Invoices
    description: >-
      Your monthly invoices — Wayex platform fees due, net of your accrued
      developer-fee credit.
  - name: Webhooks
    description: Subscribe to HMAC-signed event webhooks and inspect deliveries.
  - name: API keys
    description: Create, list, and rotate API keys for programmatic access.
  - name: Fees
    description: >-
      Configure your developer fee — the markup withheld from each conversion
      and credited against your monthly invoice.
  - name: Invitations
    description: Accept a team invitation and activate your account.
paths:
  /v1/treasury/transactions/export:
    get:
      tags:
        - Treasury
      summary: Export Treasury transactions
      description: >-
        Exports the same tenant-scoped, non-PII transaction view as a CSV file
        for reconciliation and finance workflows. Use it for a bounded
        accounting export after selecting an external reference, movement kind,
        operation status, or date range.
      operationId: TreasuryController2_exportTransactions_v1
      parameters:
        - name: limit
          required: false
          in: query
          schema:
            example: 5000
            type: number
        - name: to
          required: false
          in: query
          schema:
            type: string
            format: date-time
        - name: from
          required: false
          in: query
          schema:
            type: string
            format: date-time
        - name: status
          required: false
          in: query
          schema:
            type: string
        - name: kind
          required: false
          in: query
          schema:
            type: string
        - name: externalReference
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: A complete CSV for the selected bounded result set.
          content:
            text/csv:
              schema:
                type: string
      security:
        - Bearer: []
        - ApiKey: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: Wayex API key
      description: 'Send the same Wayex API key as `Authorization: Bearer <key>`.'
    ApiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: A Wayex API key. Use a secret key for write operations.

````