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

# Lista fee tiers

> Retorna as taxas configuradas por faixa de volume para cada tipo de ordem (PAYIN e PAYOUT). Cada faixa inclui o percentual da plataforma (fixo) e o percentual do merchant (configurável). Use o query param `orderType` para filtrar.



## OpenAPI

````yaml GET /fee-tiers
openapi: 3.1.0
info:
  title: Astron Pay API
  version: 1.0.0
  description: >-
    API B2B para integração de câmbio crypto ↔ BRL via PIX. Autentique com
    `x-api-key` + `x-api-secret`.
  contact:
    name: Astron Pay
    url: https://astronpay.co
    email: dev@astronpay.co
servers:
  - url: https://api.astronpay.co/api/v1
    description: Production
security:
  - apiKey: []
    apiSecret: []
  - bearerAuth: []
tags:
  - name: Fee Tiers
    description: Consulta e atualização das taxas do merchant.
  - name: Receivers
    description: CRUD, KYC, limites e wallet signing dos receivers.
  - name: Quote
    description: Cotações de payin e payout.
  - name: Payin
    description: Ordens de entrada (BRL → crypto).
  - name: Payout
    description: Ordens de saída (crypto → BRL).
  - name: Orders
    description: Consulta genérica de ordens.
  - name: Merchant Wallet
    description: Assinatura de transações com a wallet gerenciada do merchant.
  - name: Ledger
    description: Saldos, entries e liquidações.
  - name: Webhook Config
    description: Configuração de webhook e listagem de eventos.
paths:
  /fee-tiers:
    get:
      tags:
        - Fee Tiers
      summary: Lista fee tiers do merchant
      description: >-
        Retorna as taxas configuradas por faixa de volume para cada tipo de
        ordem (PAYIN e PAYOUT). Cada faixa inclui o percentual da plataforma
        (fixo) e o percentual do merchant (configurável). Use o query param
        `orderType` para filtrar.
      parameters:
        - name: orderType
          in: query
          schema:
            type: string
            enum:
              - PAYIN
              - PAYOUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FeeTier'
              example:
                - id: uuid
                  orderType: PAYIN
                  minVolumeBrl: 0
                  maxVolumeBrl: 10000
                  platformFeePercentage: 0.005
                  merchantFeePercentage: 0.01
                  totalFeePercentage: 0.015
                - id: uuid
                  orderType: PAYIN
                  minVolumeBrl: 10000
                  maxVolumeBrl: null
                  platformFeePercentage: 0.004
                  merchantFeePercentage: 0.008
                  totalFeePercentage: 0.012
        '401':
          description: Não autenticado
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    FeeTier:
      type: object
      properties:
        id:
          type: string
          format: uuid
        orderType:
          type: string
          enum:
            - PAYIN
            - PAYOUT
        minVolumeBrl:
          type: number
          example: 0
        maxVolumeBrl:
          type: number
          nullable: true
          example: 10000
        platformFeePercentage:
          type: number
          example: 0.005
        merchantFeePercentage:
          type: number
          example: 0.01
        totalFeePercentage:
          type: number
          example: 0.015
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          example: VALIDATION_ERROR
        message:
          type: string
          example: Campo 'amountBrl' é obrigatório
        details:
          type: object
          additionalProperties: true
        requestId:
          type: string
          example: req_abc123
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
    apiSecret:
      type: apiKey
      in: header
      name: x-api-secret
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````