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

# Create a transfer estimate

> Creates a permanent-idempotency indicative estimate with an exact five-minute local freshness bound; it cannot be executed.



## OpenAPI

````yaml /openapi.json post /v1/transfer-quotes
openapi: 3.1.0
info:
  description: The public API for Perflo financial agents.
  license:
    identifier: LicenseRef-Perflo-Proprietary
    name: Proprietary
  title: Perflo Financial Agents API
  version: 1.0.0
servers:
  - url: https://api.perflo.ai
security: []
tags:
  - description: Existing fiat accounts and provider-stated withdrawal limits.
    name: accounts
  - description: Sanitized customer-wide cash activity without provider identifiers.
    name: activity
  - description: The current grant, delegated policy, and local confirmation controls.
    name: authorization
  - description: Safe beneficiary resources, payout schemas, and virtual-account economics.
    name: beneficiaries
  - description: Non-sensitive card lifecycle state and card activity.
    name: cards
  - description: Safe display preferences for the current pairwise subject.
    name: identity
  - description: >-
      Normalized verification state without identity evidence or provider
      details.
    name: kyc
  - description: >-
      Durable financial operation status owned by the current subject and
      client.
    name: operations
  - description: API-owned outbound notifications for durable operation transitions.
    name: operation-webhooks
  - description: Indicative service purchase quotes and released purchase state.
    name: purchases
  - description: Public asset and fiat-price reference data.
    name: reference-data
  - description: Services and capabilities available under the effective grant policy.
    name: services
  - description: Spending-account state and durable withdrawal operations.
    name: spending
  - description: Gateway health and public API metadata endpoints.
    name: system
  - description: Indicative transfer economics that cannot be executed.
    name: transfer-quotes
paths:
  /v1/transfer-quotes:
    post:
      tags:
        - transfer-quotes
      summary: Create a transfer estimate
      description: >-
        Creates a permanent-idempotency indicative estimate with an exact
        five-minute local freshness bound; it cannot be executed.
      operationId: createTransferQuote
      parameters:
        - $ref: '#/components/parameters/PerfloRequestId'
        - description: >-
            A new 256-bit random value encoded as 43 unpadded base64url
            characters. Reuse it only for the same request intent.
          in: header
          name: Idempotency-Key
          required: true
          schema:
            pattern: ^[A-Za-z0-9_-]{43}$
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferQuoteRequest'
      responses:
        '201':
          description: The indicative transfer estimate.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
            Idempotent-Replayed:
              description: >-
                True when the same owner and client request intent returned its
                existing durable result resource.
              schema:
                enum:
                  - true
                type: boolean
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferQuote'
        '401':
          description: The access token or DPoP proof is invalid.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
            WWW-Authenticate:
              $ref: '#/components/headers/PerfloAuthenticate'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: The current grant does not authorize this request.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
            WWW-Authenticate:
              $ref: '#/components/headers/PerfloAuthenticate'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '409':
          description: The idempotency key conflicts with another request.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '422':
          description: The request shape is invalid.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: The shared request limit was exceeded.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            Retry-After:
              $ref: '#/components/headers/PerfloRetryAfter'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: The response contract failed.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '503':
          description: Quote authority or provider economics are unavailable.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/PerfloRequestId'
            DPoP-Nonce:
              $ref: '#/components/headers/PerfloDpopNonce'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      security:
        - PerfloDPoPProof: []
          PerfloOAuth:
            - transfers:quote
components:
  parameters:
    PerfloRequestId:
      description: >-
        Optional caller request identifier. Unsafe values are replaced with a
        generated UUID.
      in: header
      name: X-Request-Id
      required: false
      schema:
        pattern: ^[A-Za-z0-9._~-]{8,128}$
        type: string
  schemas:
    TransferQuoteRequest:
      type: object
      properties:
        source:
          $ref: '#/components/schemas/TransferQuoteMoney'
          type: object
          properties:
            amount:
              type: string
              pattern: ^(?:0|[1-9]\d{0,37})(?:\.\d{1,18})?$
              description: Canonical non-negative decimal amount.
            currency:
              type: string
              pattern: ^[A-Z][A-Z0-9._-]{0,31}$
              description: Asset or currency of the amount.
          required:
            - amount
            - currency
          additionalProperties: false
          description: Positive source amount to estimate.
        destination_currency:
          type: string
          pattern: ^[A-Z]{3}$
          description: Requested destination currency.
      required:
        - source
        - destination_currency
      additionalProperties: false
      description: >-
        A currency-pair estimate request with no beneficiary, rail, purpose, or
        execution binding.
    TransferQuote:
      type: object
      properties:
        id:
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          description: API-owned opaque indicative quote identifier.
        requested_source:
          $ref: '#/components/schemas/TransferQuoteMoney'
          description: Requested source amount.
        estimated_destination:
          $ref: '#/components/schemas/TransferQuoteMoney'
          description: Estimated destination amount, which cannot be executed.
        estimated_fee:
          $ref: '#/components/schemas/TransferQuoteMoney'
          description: Provider-stated estimated fee and its stated currency.
        estimated_rate:
          type: string
          pattern: ^(?:0\.0*[1-9]\d*|[1-9]\d{0,37}(?:\.\d{1,18})?)$
          description: Estimated destination units per source unit.
        quoted_at:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
          description: Local quote observation time.
        expires_at:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
          description: >-
            Local freshness deadline no later than five minutes after
            observation.
        indicative:
          type: boolean
          const: true
          description: 'Always true: this is only an estimate.'
        executable:
          type: boolean
          const: false
          description: 'Always false: this resource cannot execute.'
      required:
        - id
        - requested_source
        - estimated_destination
        - estimated_fee
        - estimated_rate
        - quoted_at
        - expires_at
        - indicative
        - executable
      additionalProperties: false
      description: >-
        A locally durable indicative estimate without a provider quote
        identifier or execution authority.
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          format: uri
          description: Stable URL identifying the problem class.
        title:
          type: string
          minLength: 1
          description: Short human-readable problem title.
        status:
          type: integer
          minimum: 400
          maximum: 599
          description: HTTP status code for this occurrence.
        detail:
          type: string
          minLength: 1
          description: Human-readable occurrence detail.
        instance:
          type: string
          pattern: ^\/.*
          description: Request path identifying this problem occurrence.
        code:
          type: string
          pattern: ^[a-z][a-z0-9_]*$
          description: Stable machine-readable Perflo error code.
        fields:
          anyOf:
            - type: array
              items:
                $ref: '#/components/schemas/ProblemField'
            - type: 'null'
          description: >-
            Field-level failures, or null when the problem is not
            field-specific.
        request_id:
          type: string
          pattern: ^[A-Za-z0-9._~-]{8,128}$
          description: Request identifier used to correlate API responses with server logs.
        retryable:
          type: boolean
          description: Whether repeating the identical request can safely succeed.
        submission_uncertain:
          type: boolean
          description: >-
            Whether an upstream write may have landed and must not be
            resubmitted.
      required:
        - type
        - title
        - status
        - detail
        - instance
        - code
        - fields
        - request_id
        - retryable
        - submission_uncertain
      additionalProperties: false
      description: >-
        RFC 9457 problem details with stable Perflo correlation and retry
        semantics.
    TransferQuoteMoney:
      type: object
      properties:
        amount:
          type: string
          pattern: ^(?:0|[1-9]\d{0,37})(?:\.\d{1,18})?$
          description: Canonical non-negative decimal amount.
        currency:
          type: string
          pattern: ^[A-Z][A-Z0-9._-]{0,31}$
          description: Asset or currency of the amount.
      required:
        - amount
        - currency
      additionalProperties: false
      description: A normalized amount and its asset or currency.
    ProblemField:
      type: object
      properties:
        message:
          type: string
          minLength: 1
          description: Human-readable validation failure.
        path:
          type: string
          minLength: 1
          description: Dot-delimited path to the invalid field.
      required:
        - message
        - path
      additionalProperties: false
      description: One field-level request validation failure.
  headers:
    PerfloRequestId:
      description: Request identifier echoed on every API response.
      schema:
        pattern: ^[A-Za-z0-9._~-]{8,128}$
        type: string
    PerfloDpopNonce:
      description: >-
        Current protected-resource nonce for the next DPoP proof. Replace any
        previously stored resource nonce.
      schema:
        pattern: ^[A-Za-z0-9_-]{43}$
        type: string
    PerfloAuthenticate:
      description: >-
        OAuth DPoP authentication challenge. Inspect the challenge before
        deciding whether to request a new token or proof.
      schema:
        type: string
    PerfloRetryAfter:
      description: Whole seconds to wait before sending another request to this endpoint.
      schema:
        minimum: 1
        type: integer
  securitySchemes:
    PerfloDPoPProof:
      description: >-
        Per-request RFC 9449 DPoP proof signed with ES256. Protected requests
        use `Authorization: DPoP your_access_token_here`. Create a new proof for
        the exact method and normalized target URI, and include the server nonce
        when challenged.
      in: header
      name: DPoP
      type: apiKey
    PerfloOAuth:
      description: >-
        OAuth 2.0 with RFC 9700 security practices. Discover exact environment
        endpoints from `/.well-known/openid-configuration` and
        `/.well-known/oauth-authorization-server`, and discover the resource
        from `/.well-known/oauth-protected-resource`. Authorization-code clients
        use PKCE `S256`, the exact environment resource, `nonce` with `openid`,
        and DPoP binding. Confidential clients also require PAR and
        `private_key_jwt`. Access and refresh tokens are sender-constrained with
        DPoP. `purchases:execute` is unavailable and omitted from this scope
        registry.
      flows:
        authorizationCode:
          authorizationUrl: https://api.perflo.ai/oauth/authorize
          scopes:
            accounts:read: >-
              Read the resource owner’s financial accounts and withdrawal
              limits.
            activity:read: Read the resource owner’s sanitized financial activity.
            authorization:read: Read the current OAuth grant and effective delegated policy.
            beneficiaries:read: Read beneficiaries and beneficiary reference data.
            beneficiaries:write: Create beneficiaries through durable operations.
            cards:manage: Create and manage non-sensitive card lifecycle state.
            cards:read: Read non-sensitive card state and activity.
            identity:read: Read the resource owner’s safe display preferences.
            kyc:read: Read the resource owner’s normalized verification status.
            operations:read: Read operations owned by the same subject and client.
            purchases:read: Read quote-bound service purchase state.
            services:read: Read services available under the effective grant policy.
            spending:read: Read the resource owner’s spending account.
            spending:withdraw: Create spending-account withdrawals through durable operations.
            transfers:quote: Create non-executable transfer estimates.
          tokenUrl: https://api.perflo.ai/oauth/token
        clientCredentials:
          scopes:
            accounts:read: >-
              Read the resource owner’s financial accounts and withdrawal
              limits.
            activity:read: Read the resource owner’s sanitized financial activity.
            authorization:read: Read the current OAuth grant and effective delegated policy.
            beneficiaries:read: Read beneficiaries and beneficiary reference data.
            beneficiaries:write: Create beneficiaries through durable operations.
            cards:manage: Create and manage non-sensitive card lifecycle state.
            cards:read: Read non-sensitive card state and activity.
            identity:read: Read the resource owner’s safe display preferences.
            kyc:read: Read the resource owner’s normalized verification status.
            operations:read: Read operations owned by the same subject and client.
            purchases:read: Read quote-bound service purchase state.
            services:read: Read services available under the effective grant policy.
            spending:read: Read the resource owner’s spending account.
            spending:withdraw: Create spending-account withdrawals through durable operations.
            transfers:quote: Create non-executable transfer estimates.
          tokenUrl: https://api.perflo.ai/oauth/token
      type: oauth2
      x-token-type: DPoP

````