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

# List fee schedules

> Use this endpoint to retrieve all fee schedules for the authenticated tenant.



## OpenAPI

````yaml /en/openapi/v3-current/matcher.yaml get /v1/fee-schedules
openapi: 3.1.0
info:
  title: Matcher APIs
  description: >-
    Complete API reference for the Matcher reconciliation engine, providing
    automated transaction matching between Midaz Ledger and external systems.
  version: v2.1.1
  license:
    name: Elastic License 2.0
    url: https://www.elastic.co/licensing/elastic-license
servers:
  - url: https://matcher.sandbox.lerian.net
security: []
paths:
  /v1/fee-schedules:
    get:
      tags:
        - Configuration Fee Schedules
      summary: List fee schedules
      description: >-
        Use this endpoint to retrieve all fee schedules for the authenticated
        tenant.
      operationId: listFeeSchedules
      parameters:
        - description: A unique identifier for tracing the request across services.
          in: header
          name: X-Request-Id
          schema:
            type: string
        - description: The maximum number of items to include in the response.
          in: query
          name: limit
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 20
      responses:
        '200':
          description: List of fee schedules with cursor pagination
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListFeeSchedulesResponse'
        '401':
          description: The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have permission to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    ListFeeSchedulesResponse:
      description: Paginated list of fee schedules
      properties:
        items:
          items:
            $ref: '#/components/schemas/FeeScheduleResponse'
          maxItems: 200
          type: array
        cursor:
          description: Cursor value to retrieve the next page of results
          example: eyJpZCI6IjAxOWM5NmEwLTJiMjAtNzEyMy05YTFiLTJjM2Q0ZTVmNmE3YiJ9
          type: string
      type: object
    ErrorResponse:
      description: Standard error response returned by all API endpoints
      type: object
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: HTTP status code as a string.
          example: '404'
        title:
          type: string
          description: Error type identifier.
          example: not_found
        message:
          type: string
          description: Human-readable error message with details.
          example: context not found
        error:
          type: string
          description: Deprecated. Error message for backward compatibility.
          deprecated: true
        details:
          description: Additional error context as key-value pairs
          additionalProperties: {}
          type: object
    FeeScheduleResponse:
      description: Fee schedule with its fee items
      properties:
        id:
          description: Unique identifier for the fee schedule
          example: 019c96a0-2b20-7123-9a1b-2c3d4e5f6a7b
          format: uuid
          type: string
        tenantId:
          description: Tenant that owns this fee schedule
          example: 019c96a0-0a98-7287-9a31-786e0809c769
          format: uuid
          type: string
        name:
          description: Display name for the fee schedule
          example: Card Processing - Visa
          maxLength: 100
          type: string
        currency:
          description: Currency code (ISO 4217)
          example: USD
          type: string
        applicationOrder:
          description: How multiple fee items compose
          example: PARALLEL
          allOf:
            - $ref: '#/components/schemas/ApplicationOrder'
        roundingScale:
          description: Number of decimal places for rounding
          example: 2
          type: integer
        roundingMode:
          description: Rounding method for intermediate calculations
          example: HALF_UP
          allOf:
            - $ref: '#/components/schemas/RoundingMode'
        items:
          description: Fee items in this schedule
          items:
            $ref: '#/components/schemas/FeeScheduleItemResponse'
          maxItems: 100
          type: array
        createdAt:
          description: Creation timestamp in RFC 3339 format
          example: '2025-01-15T10:30:00Z'
          format: date-time
          type: string
        updatedAt:
          description: Last update timestamp in RFC 3339 format
          example: '2025-01-15T10:30:00Z'
          format: date-time
          type: string
      type: object
    ApplicationOrder:
      description: Determines how multiple fee items compose within a schedule
      enum:
        - PARALLEL
        - CASCADING
      type: string
      x-enum-varnames:
        - ApplicationOrderParallel
        - ApplicationOrderCascading
    RoundingMode:
      description: Determines how intermediate fee calculations are rounded
      enum:
        - HALF_UP
        - BANKERS
        - FLOOR
        - CEIL
        - TRUNCATE
      type: string
      x-enum-varnames:
        - RoundingModeHalfUp
        - RoundingModeBankers
        - RoundingModeFloor
        - RoundingModeCeil
        - RoundingModeTruncate
    FeeScheduleItemResponse:
      description: A single fee item within a fee schedule
      properties:
        id:
          description: Unique identifier for the fee item
          example: 019c96a0-2b20-7123-9a1b-2c3d4e5f6a7b
          format: uuid
          type: string
        name:
          description: Display name for the fee item
          example: interchange
          type: string
        priority:
          description: Execution priority (lower numbers run first)
          example: 1
          type: integer
        structureType:
          description: Type of fee structure
          example: PERCENTAGE
          allOf:
            - $ref: '#/components/schemas/StructureType'
        structure:
          description: Fee structure definition (varies by structureType)
          type: object
          additionalProperties: true
        createdAt:
          description: Creation timestamp in RFC 3339 format
          example: '2025-01-15T10:30:00Z'
          format: date-time
          type: string
        updatedAt:
          description: Last update timestamp in RFC 3339 format
          example: '2025-01-15T10:30:00Z'
          format: date-time
          type: string
      type: object
    StructureType:
      description: Type of fee structure for a fee schedule item
      enum:
        - FLAT
        - PERCENTAGE
        - TIERED
      type: string
      x-enum-varnames:
        - StructureTypeFlat
        - StructureTypePercentage
        - StructureTypeTiered
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token authentication (format: "Bearer {token}")'

````