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

# Generate quote

> Price a POBO transfer.

**The route must resolve to Paywho.** That means a Paywho-supported currency on a bank-transfer rail, or `INR` on `BANK_TRANSFER`, `IMPS`, `UPI` or `CRYPTO`. A Bridge-routed request — `USD → EUR` over `ACH`, for instance — is rejected with `400 Rail not supported for POBO`.

The response returns a `qut_` reference id.



## OpenAPI

````yaml api-reference/endl-pobo-api.json POST /api/v0/pobo/quotes/generate
openapi: 3.1.0
info:
  title: Endl POBO API
  version: '0'
  description: >-
    Payment on behalf of — pay out on behalf of a named originator.


    Every POBO endpoint lives under `/api/v0/pobo` and needs an API key carrying
    the `pobo` permission. POBO is **partner-scoped**: there is no `userId` in
    any path, and every identifier you exchange is a prefixed reference id
    rather than an internal UUID.


    POBO routes through Paywho only. A Bridge-routed currency or rail is
    rejected with `400`.
servers:
  - url: https://api-sandbox.endl.io
    description: Sandbox
security:
  - apiKey: []
paths:
  /api/v0/pobo/quotes/generate:
    post:
      tags:
        - Quotes
      summary: Generate quote
      description: >-
        Price a POBO transfer.


        **The route must resolve to Paywho.** That means a Paywho-supported
        currency on a bank-transfer rail, or `INR` on `BANK_TRANSFER`, `IMPS`,
        `UPI` or `CRYPTO`. A Bridge-routed request — `USD → EUR` over `ACH`, for
        instance — is rejected with `400 Rail not supported for POBO`.


        The response returns a `qut_` reference id.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                payoutRail:
                  type: string
                  description: The rail the payout leaves on. Paywho rails only.
                source:
                  type: object
                  description: What you are funding the transfer with.
                  properties:
                    amount:
                      type: number
                      description: Amount to convert.
                    currency:
                      type: string
                      description: Source currency, ISO 4217.
                    chain:
                      type: string
                      description: Settlement chain for the source funds — `ETHEREUM`.
                destination:
                  type: object
                  description: What the recipient receives.
                  properties:
                    currency:
                      type: string
                      description: Destination currency, ISO 4217.
            example:
              payoutRail: BANK_TRANSFER
              source:
                amount: 100
                currency: USD
                chain: ETHEREUM
              destination:
                currency: PHP
      responses:
        '200':
          description: The quote. `data` carries the `qut_` reference id.
          content:
            application/json:
              example:
                code: 200
                message: Success
                status: SUCCESS
                data: {}
                errors: []
        '400':
          description: Validation failed, or the route is not supported for POBO.
          content:
            application/json:
              example:
                code: 400
                message: Rail not supported for POBO
                status: ERROR
                data: null
                errors:
                  - code: VALIDATION_ERROR
                    message: Rail not supported for POBO
                    field: null
        '401':
          description: Missing or invalid API credentials.
          content:
            application/json:
              example:
                data: null
                code: 401
                message: Authentication Failed!
                status: Error
                errors:
                  - code: '401'
                    message: Authentication Failed!
                    field: Authentication Failed!
        '403':
          description: The key does not carry the `pobo` permission. Raised at the edge.
          content:
            application/json:
              example:
                data: null
                code: 403
                message: API key does not have 'pobo' permission
                status: Error
                errors:
                  - code: '403'
                    message: API key does not have 'pobo' permission
                    field: API key does not have 'pobo' permission
        '429':
          description: The per-API-key request rate limit was exceeded.
          content:
            application/json:
              example:
                data: null
                code: 429
                message: Rate limit exceeded, please retry later
                status: Error
                errors:
                  - code: '429'
                    message: Rate limit exceeded, please retry later
                    field: Rate limit exceeded, please retry later
        '500':
          description: Unexpected server error.
          content:
            application/json:
              example:
                code: 500
                message: Unexpected error
                status: ERROR
                data: null
                errors:
                  - code: INTERNAL_ERROR
                    message: Unexpected error
                    field: null
        '502':
          description: >-
            Endl could not reach the service behind the edge. Retry with
            backoff.
          content:
            application/json:
              example:
                data: null
                code: 502
                message: Upstream service error
                status: Error
                errors: null
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: API-KEY
      description: Your partner API key. Must carry the `pobo` permission.

````