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

# Get Quote

> Get a quote for currency exchange to prepare a payout.

Request a real-time quote to convert between currencies before initiating a payout.
The quote will lock in an exchange rate for a limited time period (typically 30 seconds)
and can be used to create a payout with predictable conversion amounts.

Quotes are essential when you need to:
- Convert crypto to fiat (e.g., USDC to INR or PHP)
- Display exact amounts to users before confirmation
- Ensure rate consistency between quote and execution



## OpenAPI

````yaml GET /v1/payouts/quote
openapi: 3.1.0
info:
  title: Payment Platform API
  version: 0.0.0
servers: []
security: []
tags:
  - name: Accounts
  - name: Payouts
  - name: Payments
paths:
  /v1/payouts/quote:
    get:
      tags:
        - Payouts
      description: >-
        Get a quote for currency exchange to prepare a payout.


        Request a real-time quote to convert between currencies before
        initiating a payout.

        The quote will lock in an exchange rate for a limited time period
        (typically 30 seconds)

        and can be used to create a payout with predictable conversion amounts.


        Quotes are essential when you need to:

        - Convert crypto to fiat (e.g., USDC to INR or PHP)

        - Display exact amounts to users before confirmation

        - Ensure rate consistency between quote and execution
      operationId: Payouts_getPayoutQuote
      parameters:
        - $ref: '#/components/parameters/QuoteRequest.baseAsset'
        - $ref: '#/components/parameters/QuoteRequest.counterAsset'
        - $ref: '#/components/parameters/QuoteRequest.amount'
        - $ref: '#/components/parameters/QuoteRequest.type'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quote'
components:
  parameters:
    QuoteRequest.baseAsset:
      name: baseAsset
      in: query
      required: true
      schema:
        type: string
      explode: false
    QuoteRequest.counterAsset:
      name: counterAsset
      in: query
      required: true
      schema:
        type: string
      explode: false
    QuoteRequest.amount:
      name: amount
      in: query
      required: true
      schema:
        type: string
      explode: false
    QuoteRequest.type:
      name: type
      in: query
      required: true
      schema:
        $ref: '#/components/schemas/QuoteType'
      explode: false
  schemas:
    Quote:
      type: object
      required:
        - quoteId
        - object
        - fromAsset
        - fromAmount
        - toAsset
        - toAmount
        - rate
        - feeBps
        - expiresAt
        - createdAt
      properties:
        quoteId:
          type: string
        object:
          type: string
          enum:
            - quote
          default: quote
        fromAsset:
          type: string
        fromAmount:
          type: string
        toAsset:
          type: string
        toAmount:
          type: string
        rate:
          type: string
        feeBps:
          type: string
        expiresAt:
          type: string
        createdAt:
          type: string
    QuoteType:
      type: string
      enum:
        - sell
        - buy

````