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

# Get a payment quote

> Get a previously created payment quote.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/payment/quote/{id}
openapi: 3.1.0
info:
  title: Nuvera API
  description: Nuvera Payment Platform REST API
  version: '1.0'
  contact: {}
servers:
  - url: http://localhost:45000
security: []
tags: []
paths:
  /api/v1/payment/quote/{id}:
    get:
      tags:
        - Payments
      summary: Get a payment quote
      description: Get a previously created payment quote.
      operationId: PaymentController_getQuote
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentQuoteOutputDto_Output'
      security:
        - x-api-key: []
          signed-request: []
components:
  schemas:
    PaymentQuoteOutputDto_Output:
      oneOf:
        - type: object
          properties:
            id:
              type: string
            paymentAmount:
              type: string
            paymentCurrencyCode:
              type: string
            totalTarget:
              type: string
            targetCurrencyCode:
              type: string
            createdAt:
              type: string
            expiresAt:
              type: string
            usedAt:
              anyOf:
                - type: string
                - type: 'null'
            priceBreakdown:
              anyOf:
                - type: object
                  properties:
                    payout:
                      type: object
                      properties:
                        label:
                          type: string
                          const: Payment amount
                        amountUsd:
                          type: string
                      required:
                        - label
                        - amountUsd
                      additionalProperties: false
                    platformFees:
                      type: object
                      properties:
                        feeProfileId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        feeProfileName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        subtotalUsd:
                          type: string
                        lines:
                          type: array
                          items:
                            type: object
                            properties:
                              feeRuleId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              name:
                                type: string
                              feeType:
                                type: string
                                enum:
                                  - PERCENT
                                  - FIXED
                              feeValue:
                                type: string
                              baseAmountUsd:
                                type: string
                              rawAmountUsd:
                                type: string
                              minAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              maxAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              finalAmountUsd:
                                type: string
                              paymentSystemId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - feeRuleId
                              - name
                              - feeType
                              - feeValue
                              - baseAmountUsd
                              - rawAmountUsd
                              - minAmountUsd
                              - maxAmountUsd
                              - finalAmountUsd
                              - paymentSystemId
                            additionalProperties: false
                      required:
                        - feeProfileId
                        - feeProfileName
                        - subtotalUsd
                        - lines
                      additionalProperties: false
                    partnerFees:
                      type: object
                      properties:
                        feeProfileId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        feeProfileName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        subtotalUsd:
                          type: string
                        lines:
                          type: array
                          items:
                            type: object
                            properties:
                              feeRuleId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              name:
                                type: string
                              feeType:
                                type: string
                                enum:
                                  - PERCENT
                                  - FIXED
                              feeValue:
                                type: string
                              baseAmountUsd:
                                type: string
                              rawAmountUsd:
                                type: string
                              minAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              maxAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              finalAmountUsd:
                                type: string
                              paymentSystemId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - feeRuleId
                              - name
                              - feeType
                              - feeValue
                              - baseAmountUsd
                              - rawAmountUsd
                              - minAmountUsd
                              - maxAmountUsd
                              - finalAmountUsd
                              - paymentSystemId
                            additionalProperties: false
                      required:
                        - feeProfileId
                        - feeProfileName
                        - subtotalUsd
                        - lines
                      additionalProperties: false
                    funding:
                      type: object
                      properties:
                        subtotalUsd:
                          type: string
                        lines:
                          type: array
                          items:
                            type: object
                            properties:
                              feeRuleId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              name:
                                type: string
                              feeType:
                                type: string
                                enum:
                                  - PERCENT
                                  - FIXED
                              feeValue:
                                type: string
                              baseAmountUsd:
                                type: string
                              rawAmountUsd:
                                type: string
                              minAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              maxAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              finalAmountUsd:
                                type: string
                              paymentSystemId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - feeRuleId
                              - name
                              - feeType
                              - feeValue
                              - baseAmountUsd
                              - rawAmountUsd
                              - minAmountUsd
                              - maxAmountUsd
                              - finalAmountUsd
                              - paymentSystemId
                            additionalProperties: false
                      required:
                        - subtotalUsd
                        - lines
                      additionalProperties: false
                    totals:
                      oneOf:
                        - type: object
                          properties:
                            fundingType:
                              type: string
                              const: CRYPTO
                            feesUsd:
                              type: string
                            totalTarget:
                              type: string
                            targetCurrencyCode:
                              type: string
                            effectivePriceUsdPerToken:
                              type: string
                            quotedTokenAmount:
                              type: string
                          required:
                            - fundingType
                            - feesUsd
                            - totalTarget
                            - targetCurrencyCode
                            - effectivePriceUsdPerToken
                            - quotedTokenAmount
                          additionalProperties: false
                        - type: object
                          properties:
                            fundingType:
                              type: string
                              const: BANK_ACCOUNT
                            feesUsd:
                              type: string
                            totalTarget:
                              type: string
                            targetCurrencyCode:
                              type: string
                          required:
                            - fundingType
                            - feesUsd
                            - totalTarget
                            - targetCurrencyCode
                          additionalProperties: false
                  required:
                    - payout
                    - platformFees
                    - partnerFees
                    - funding
                    - totals
                  additionalProperties: false
                - type: 'null'
            fundingType:
              type: string
              const: CRYPTO
            paymentToken:
              type: string
              enum:
                - USDC
                - USDT
            paymentNetwork:
              type: string
              enum:
                - ETHEREUM
                - ETHEREUM_SEPOLIA
                - POLYGON
                - POLYGON_AMOY
                - SOLANA
                - SOLANA_DEVNET
                - TRON
                - TRON_NILE
            networkFeeUsd:
              type: string
            effectivePriceUsdPerToken:
              type: string
            quotedTokenAmount:
              type: string
            paymentSystemId:
              anyOf:
                - type: string
                - type: 'null'
          required:
            - id
            - paymentAmount
            - paymentCurrencyCode
            - totalTarget
            - targetCurrencyCode
            - createdAt
            - expiresAt
            - usedAt
            - priceBreakdown
            - fundingType
            - paymentToken
            - paymentNetwork
            - networkFeeUsd
            - effectivePriceUsdPerToken
            - quotedTokenAmount
            - paymentSystemId
          additionalProperties: false
        - type: object
          properties:
            id:
              type: string
            paymentAmount:
              type: string
            paymentCurrencyCode:
              type: string
            totalTarget:
              type: string
            targetCurrencyCode:
              type: string
            createdAt:
              type: string
            expiresAt:
              type: string
            usedAt:
              anyOf:
                - type: string
                - type: 'null'
            priceBreakdown:
              anyOf:
                - type: object
                  properties:
                    payout:
                      type: object
                      properties:
                        label:
                          type: string
                          const: Payment amount
                        amountUsd:
                          type: string
                      required:
                        - label
                        - amountUsd
                      additionalProperties: false
                    platformFees:
                      type: object
                      properties:
                        feeProfileId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        feeProfileName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        subtotalUsd:
                          type: string
                        lines:
                          type: array
                          items:
                            type: object
                            properties:
                              feeRuleId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              name:
                                type: string
                              feeType:
                                type: string
                                enum:
                                  - PERCENT
                                  - FIXED
                              feeValue:
                                type: string
                              baseAmountUsd:
                                type: string
                              rawAmountUsd:
                                type: string
                              minAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              maxAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              finalAmountUsd:
                                type: string
                              paymentSystemId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - feeRuleId
                              - name
                              - feeType
                              - feeValue
                              - baseAmountUsd
                              - rawAmountUsd
                              - minAmountUsd
                              - maxAmountUsd
                              - finalAmountUsd
                              - paymentSystemId
                            additionalProperties: false
                      required:
                        - feeProfileId
                        - feeProfileName
                        - subtotalUsd
                        - lines
                      additionalProperties: false
                    partnerFees:
                      type: object
                      properties:
                        feeProfileId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        feeProfileName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        subtotalUsd:
                          type: string
                        lines:
                          type: array
                          items:
                            type: object
                            properties:
                              feeRuleId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              name:
                                type: string
                              feeType:
                                type: string
                                enum:
                                  - PERCENT
                                  - FIXED
                              feeValue:
                                type: string
                              baseAmountUsd:
                                type: string
                              rawAmountUsd:
                                type: string
                              minAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              maxAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              finalAmountUsd:
                                type: string
                              paymentSystemId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - feeRuleId
                              - name
                              - feeType
                              - feeValue
                              - baseAmountUsd
                              - rawAmountUsd
                              - minAmountUsd
                              - maxAmountUsd
                              - finalAmountUsd
                              - paymentSystemId
                            additionalProperties: false
                      required:
                        - feeProfileId
                        - feeProfileName
                        - subtotalUsd
                        - lines
                      additionalProperties: false
                    funding:
                      type: object
                      properties:
                        subtotalUsd:
                          type: string
                        lines:
                          type: array
                          items:
                            type: object
                            properties:
                              feeRuleId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              name:
                                type: string
                              feeType:
                                type: string
                                enum:
                                  - PERCENT
                                  - FIXED
                              feeValue:
                                type: string
                              baseAmountUsd:
                                type: string
                              rawAmountUsd:
                                type: string
                              minAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              maxAmountUsd:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              finalAmountUsd:
                                type: string
                              paymentSystemId:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - feeRuleId
                              - name
                              - feeType
                              - feeValue
                              - baseAmountUsd
                              - rawAmountUsd
                              - minAmountUsd
                              - maxAmountUsd
                              - finalAmountUsd
                              - paymentSystemId
                            additionalProperties: false
                      required:
                        - subtotalUsd
                        - lines
                      additionalProperties: false
                    totals:
                      oneOf:
                        - type: object
                          properties:
                            fundingType:
                              type: string
                              const: CRYPTO
                            feesUsd:
                              type: string
                            totalTarget:
                              type: string
                            targetCurrencyCode:
                              type: string
                            effectivePriceUsdPerToken:
                              type: string
                            quotedTokenAmount:
                              type: string
                          required:
                            - fundingType
                            - feesUsd
                            - totalTarget
                            - targetCurrencyCode
                            - effectivePriceUsdPerToken
                            - quotedTokenAmount
                          additionalProperties: false
                        - type: object
                          properties:
                            fundingType:
                              type: string
                              const: BANK_ACCOUNT
                            feesUsd:
                              type: string
                            totalTarget:
                              type: string
                            targetCurrencyCode:
                              type: string
                          required:
                            - fundingType
                            - feesUsd
                            - totalTarget
                            - targetCurrencyCode
                          additionalProperties: false
                  required:
                    - payout
                    - platformFees
                    - partnerFees
                    - funding
                    - totals
                  additionalProperties: false
                - type: 'null'
            fundingType:
              type: string
              const: BANK_ACCOUNT
            paymentSystemId:
              type: string
            sourceBankAccountId:
              type: string
          required:
            - id
            - paymentAmount
            - paymentCurrencyCode
            - totalTarget
            - targetCurrencyCode
            - createdAt
            - expiresAt
            - usedAt
            - priceBreakdown
            - fundingType
            - paymentSystemId
            - sourceBankAccountId
          additionalProperties: false
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: Nuvera API application secret key
    signed-request:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: RS256 per-request signed JWT

````