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

# Simular taxa



## OpenAPI

````yaml openapi.json POST /api/v1/partners/me/fees/simulate
openapi: 3.1.0
info:
  title: PagFinance Partner API
  version: 1.0.0
  description: >-
    Curated partner-facing surface of the PagFinance API. Full narrative: see
    the API Reference pages.
servers:
  - url: https://sandbox.brlp.io
    description: Sandbox
security:
  - partnerApiKey: []
tags:
  - name: Auth
  - name: Users
  - name: Partners
  - name: KYC
  - name: Prices
  - name: Validate
  - name: Cashout
  - name: Cashin
  - name: Receipts
  - name: Links
paths:
  /api/v1/partners/me/fees/simulate:
    post:
      tags:
        - Partners
      summary: Simulate fee
      operationId: postPartnersMeFeesSimulate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              properties:
                amount:
                  description: >-
                    number. Order amount in fiat (BRL) to price. Must be greater
                    than zero. Runs the same code path as a real quote, so the
                    simulation matches what the quote will charge. - Valor da
                    ordem em fiat (BRL) a precificar. Roda o MESMO caminho da
                    cotacao real.
                assetId:
                  description: >-
                    integer (optional). Price the order for this asset (id from
                    GET /accepted-cryptos). BRLP carries NO platform rate (floor
                    + your markup only), so simulating it shows that. Unknown
                    id: 400 INVALID_ASSET_ID. Omit for the generic schedule. -
                    Precifica para este ativo; o BRLP nao tem percentual de
                    plataforma (so piso + seu markup).
      responses:
        '200':
          description: Default Response
      security:
        - partnerApiKey: []
        - hmacAuth: []
components:
  securitySchemes:
    partnerApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Bearer API key (recommended). Format: `Bearer sk_live_<hex>`. Send the
        key directly - no signature, nonce or timestamp. Create/revoke keys in
        the dashboard or via /partners/me/api-keys. Accepted on the same routes
        as the HMAC scheme. - API key Bearer (recomendada), aceita nas mesmas
        rotas que o esquema HMAC.
    hmacAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        HMAC-SHA256 (legacy/advanced). Format: `HMAC-SHA256
        partnerId=<id>,timestamp=<unix>,nonce=<uuid>,signature=<hex>`. -
        HMAC-SHA256 (legado/avançado).

````