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

# Retrieve quotes

> Returns the available payin and payout quotes for the authenticated partner.



## OpenAPI

````yaml /openapi-v2.en.yaml get /v2/quotes
openapi: 3.0.0
info:
  title: YP API Partner
  description: Integration documentation for YP API partners.
  version: v2
  contact: {}
servers:
  - url: https://sandbox-rampa.mesadepagos.com/api
    description: Sandbox
security: []
tags:
  - name: Auth
    description: ''
  - name: Quotes
    description: ''
  - name: Payin
    description: ''
  - name: Payout
    description: ''
  - name: Wallet
    description: ''
  - name: Queries
    description: ''
  - name: Webhooks
    description: ''
  - name: Fees
    description: ''
  - name: Clients
    description: ''
paths:
  /v2/quotes:
    get:
      tags:
        - Quotes
      summary: Retrieve quotes
      description: >-
        Returns the available payin and payout quotes for the authenticated
        partner.
      operationId: getQuotes
      parameters:
        - name: pair
          required: false
          in: query
          description: Currency pair to quote.
          schema:
            enum:
              - USDC/BOB
              - BOB/USDC
              - USDT/BOB
              - BOB/USDT
              - USDT/PEN
              - USDT/BRL
              - USDT/CLP
              - USDT/COP
              - USDC/PEN
              - USDC/BRL
              - USDC/CLP
              - USDC/COP
              - USDT/USD
              - USDC/USD
              - USDT/EUR
              - USDC/EUR
              - EURC/EUR
            type: string
        - name: transaction_type
          required: false
          in: query
          description: Transaction type used to filter the quote.
          schema:
            enum:
              - withdrawal_express
              - deposit_express
              - withdrawal_ach
            type: string
      responses:
        '200':
          description: Available quotes.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/QuoteResponseDoc'
        '400':
          description: Invalid query parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponseDoc'
        '401':
          description: Missing, invalid, or expired token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponseDoc'
      security:
        - bearer: []
components:
  schemas:
    QuoteResponseDoc:
      type: object
      properties:
        transactionType:
          type: string
          enum:
            - withdrawal_express
            - deposit_express
            - withdrawal_ach
          example: withdrawal_express
          description: Transaction type for the quote.
        pair:
          type: string
          enum:
            - USDC/BOB
            - BOB/USDC
            - USDT/BOB
            - BOB/USDT
            - USDT/PEN
            - USDT/BRL
            - USDT/CLP
            - USDT/COP
            - USDC/PEN
            - USDC/BRL
            - USDC/CLP
            - USDC/COP
            - USDT/USD
            - USDC/USD
            - USDT/EUR
            - USDC/EUR
            - EURC/EUR
          example: USDC/BOB
          description: Currency pair used for the quote.
        serviceExchangeRate:
          type: number
          example: 6.96
          description: Base service exchange rate.
        partnerExchangeRate:
          type: number
          example: 6.96
          description: Exchange rate applied to the partner.
        partnerPctFee:
          type: number
          example: 0.5
          description: Percentage fee configured for the partner.
        timeStamp:
          type: string
          example: '2026-05-12T12:00:00.000Z'
          description: Date and time when the quote was generated.
      required:
        - transactionType
        - pair
        - serviceExchangeRate
        - partnerExchangeRate
        - partnerPctFee
        - timeStamp
    ValidationErrorResponseDoc:
      type: object
      properties:
        statusCode:
          type: number
          example: 400
        message:
          type: string
          example: Validation failed
        error:
          type: string
          example: Bad Request
      required:
        - statusCode
        - message
        - error
    UnauthorizedResponseDoc:
      type: object
      properties:
        statusCode:
          type: number
          example: 401
        message:
          type: string
          example: Unauthorized
      required:
        - statusCode
        - message
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT obtained from /v2/auth/login

````