> ## 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.

# Set markup



## OpenAPI

````yaml openapi.json POST /api/v1/partners/me/fees/markup
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/markup:
    post:
      tags:
        - Partners
      summary: Set markup
      operationId: postPartnersMeFeesMarkup
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              properties:
                markupCashinBps:
                  description: >-
                    integer (optional). Your markup on cash-in, in basis points
                    (100 = 1%). Send 0 to remove it. Omit to leave the current
                    value untouched. Must be within your cap (see capBps in GET
                    /partners/me/fees), else 422 MARKUP_ABOVE_CAP. - Seu markup
                    no cash-in, em basis points (100 = 1%). 0 remove; omitir
                    preserva o valor atual.
                markupCashoutBps:
                  description: >-
                    integer (optional). Same as markupCashinBps, for cash-out.
                    At least one of the two fields must be sent, else 400
                    INVALID_MARKUP_BPS. - Igual ao markupCashinBps, para
                    cash-out. Ao menos um dos dois campos e obrigatorio.
      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).

````