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

# Create Export

> Starts an async CSV export of merchant residuals. Returns 202 with an export ID to poll.



## OpenAPI

````yaml POST /api/partner/residuals/reports/{year}/{month}/merchants/export
openapi: 3.0.3
info:
  title: Partner API
  description: External API for ISO partners to access merchant data, pricing, and reports
  version: 0.1.0
servers: []
security: []
paths:
  /api/partner/residuals/reports/{year}/{month}/merchants/export:
    post:
      tags:
        - Residuals
        - Residuals
      summary: Create merchant export
      description: >-
        Starts an async CSV export of merchant residuals. Returns 202 with an
        export ID to poll.
      operationId: >-
        create_export_api_partner_residuals_reports__year___month__merchants_export_post
      parameters:
        - name: year
          in: path
          required: true
          schema:
            type: integer
            maximum: 2100
            minimum: 2000
            description: Report year
            title: Year
          description: Report year
          example: 2025
        - name: month
          in: path
          required: true
          schema:
            type: integer
            maximum: 12
            minimum: 1
            description: Report month
            title: Month
          description: Report month
          example: 1
        - name: Idempotency-Key
          in: header
          required: false
          schema:
            type: string
            description: Optional dedup key (24h TTL)
            title: Idempotency-Key
          description: Optional dedup key (24h TTL)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '202':
          description: Export job created
        '401':
          description: Missing or invalid API key
        '422':
          description: Validation error or max concurrent exports reached
        '429':
          description: Rate limit exceeded
        '503':
          description: Export service unavailable

````