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

# Criar cotação



## OpenAPI

````yaml openapi.json POST /api/v1/cashout/quote
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://app.pag.finance
    description: Production
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/cashout/quote:
    post:
      tags:
        - Cashout
      summary: Create quote
      operationId: cashoutQuote
      parameters:
        - name: x-app-version
          in: header
          required: true
          schema:
            type: string
        - name: x-app-name
          in: header
          required: true
          schema:
            type: string
        - name: x-app-domain
          in: header
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - assetId
                - amount
                - sender
                - invoiceCode
                - externalId
              properties:
                assetId:
                  type: integer
                amount:
                  type: number
                sender:
                  type: string
                invoiceCode:
                  type: string
                externalId:
                  type: string
                fiatCurrency:
                  type: string
                  description: Default BRL
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                success: true
                error: null
                data:
                  quoteId: 8f3c...
                  expiresAt: '2026-08-03T12:05:00Z'
                  ttlSeconds: 300
                  valuesAndFees:
                    paymentInFiat: 150
                    totalFiat: 152.5
                    totalCrypto: 28.145
                  baasEnabled: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    partnerApiKey:
      type: http
      scheme: bearer
      description: 'Bearer API key: sk_live_...'
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: End-user JWT from POST /api/v1/auth/token

````