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

# Pre-quote lite (indicative range)

> Returns an indicative pricing summary for the authenticated partner: best option, worst option, and averages over offerable candidates. Does not return the full options list. Never binding — use the widget quote flow to obtain a signed quote before creating an operation. When no candidates are offerable, returns count: 0 without best/worst.



## OpenAPI

````yaml /raas-widgets/openapi.json post /partner/pre-quote-lite
openapi: 3.0.0
info:
  title: RaaS Widgets Partner API
  description: >
    REST API for RaaS Widgets partner integrations. Create magic links for
    embeddable flows, manage end users, track transfer operations, handle CIP
    verification, and configure webhooks for real-time event notifications.


    This specification covers the **Partner-accessible API** only (`X-API-Key`
    against `/partner/*`). Widget and Superadmin APIs are out of scope.


    ## Authentication


    All endpoints require an API key passed in the `X-API-Key` header. Use
    `raas_sandbox_*` keys for the sandbox environment and `raas_live_*` keys for
    production.


    ## Environments


    | Environment | Base URL |

    |---|---|

    | Sandbox | `https://raas-widgets-backend-sandbox.up.railway.app` |
  version: 1.18.0
  contact: {}
servers:
  - url: https://raas-widgets-backend-sandbox.up.railway.app
    description: Sandbox
security: []
tags:
  - name: Partner - Magic Links
    description: Create, list, and manage magic links for flows
  - name: Partner - Flows
    description: List enabled flows and the full flow catalog
  - name: Partner - Users
    description: View and manage end users associated with your partner account
  - name: Partner - Operations
    description: Track money transfer operations and their statuses
  - name: Partner - Requests
    description: List and inspect money-request records
  - name: Partner - Deferred Payouts
    description: List, inspect, and cancel deferred payout remittances
  - name: Partner - CIP
    description: Customer Identification Program (CIP) verification management
  - name: Partner - Data Requests
    description: Fulfill data requests for additional user information
  - name: Partner - Settings
    description: Configure partner-level settings (redirect URLs, logo, etc.)
  - name: Partner - Webhooks
    description: Configure webhook endpoints and inspect delivery history
  - name: Partner - Pricing
    description: >-
      Indicative pre-quote summaries (best / worst / averages) for partner
      integrations
paths:
  /partner/pre-quote-lite:
    post:
      tags:
        - Partner - Pricing
      summary: Pre-quote lite (indicative range)
      description: >-
        Returns an indicative pricing summary for the authenticated partner:
        best option, worst option, and averages over offerable candidates. Does
        not return the full options list. Never binding — use the widget quote
        flow to obtain a signed quote before creating an operation. When no
        candidates are offerable, returns count: 0 without best/worst.
      operationId: PreQuoteLiteController_preQuoteLite
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreQuoteDto'
      responses:
        '200':
          description: Indicative summary computed successfully
        '400':
          description: >-
            Invalid request (e.g. missing destinationCurrency for receive
            anchor)
        '401':
          description: Unauthorized — invalid or missing API key / bearer token
      security:
        - api-key: []
components:
  schemas:
    PreQuoteDto:
      type: object
      properties:
        originCountryCode:
          type: string
          description: Origin country
          example: US
        destinationCountryCode:
          type: string
          description: Destination country
          example: MX
        amount:
          type: number
          description: >-
            Pinned amount, interpreted per anchor (source ccy for send,
            destination ccy for receive).
          example: 1000
        anchor:
          type: string
          description: >-
            Which side is pinned. 'send' fixes the source amount; 'receive'
            fixes the destination amount and the engine inverts it.
          enum:
            - send
            - receive
          default: send
        destinationCurrency:
          type: string
          description: >-
            Destination currency. When omitted, the engine enumerates every
            currency each candidate SKU declares (one option per payer x
            currency) and ranks them by the currency-agnostic 'routeScore'.
          example: MXN
        sourceCurrency:
          type: string
          description: Source currency
          default: USD
        fundingMethod:
          type: string
          description: Funding method (the pull leg). Required for the payer axis.
          example: DEBIT_CARD
        payoutMethod:
          type: string
          description: Payout method (the push leg).
          example: CASH_PICKUP
        payerCode:
          type: string
          description: >-
            Optional canonical catalog payer code. When set, only SKUs for this
            payer are priced (e.g. OXXO). Omit to fan out across all quotable
            payers.
          example: OXXO
        vary:
          type: string
          description: >-
            Grouping axis. 'payer' iterates payers (one option per payer);
            'fundingMethod' iterates supported funding methods (cheapest per
            method).
          enum:
            - payer
            - fundingMethod
          default: payer
      required:
        - originCountryCode
        - destinationCountryCode
        - amount
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your partner API key. Use `raas_sandbox_*` keys for the sandbox
        environment and `raas_live_*` keys for production.

````