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

# Estimate fees for a funding request

> Preview provider + Sly fees + FX spread before committing. Use to display costs to the end user.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/funding/estimate-fees
openapi: 3.1.0
info:
  title: Sly API
  description: >-
    The Agentic Economy Platform — stablecoin payments, agent wallets,
    multi-protocol commerce, and AI agent orchestration.
  version: 1.0.0
  contact:
    name: Sly
    url: https://getsly.ai
    email: support@getsly.ai
servers:
  - url: https://api.getsly.ai/v1
    description: Production
  - url: https://sandbox.getsly.ai/v1
    description: Sandbox
security:
  - bearerAuth: []
paths:
  /v1/funding/estimate-fees:
    post:
      tags:
        - Funding
      summary: Estimate fees for a funding request
      description: >-
        Preview provider + Sly fees + FX spread before committing. Use to
        display costs to the end user.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                source_type:
                  type: string
                  enum:
                    - card
                    - bank_account_us
                    - bank_account_eu
                    - bank_account_latam
                    - crypto_wallet
                amount_cents:
                  type: integer
                  exclusiveMinimum: 0
                currency:
                  type: string
                destination_currency:
                  type: string
              required:
                - source_type
                - amount_cents
                - currency
      responses:
        '200':
          description: Estimate
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/FeeEstimate'
                required:
                  - data
      security:
        - bearerAuth: []
components:
  schemas:
    FeeEstimate:
      type: object
      properties:
        provider_fee:
          type: integer
        sly_fee:
          type: integer
        fx_spread_cents:
          type: integer
        total_fee:
          type: integer
        net_amount_cents:
          type: integer
      required:
        - provider_fee
        - sly_fee
        - fx_spread_cents
        - total_fee
        - net_amount_cents
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key (pk_test_* or pk_live_*), JWT session, agent token (agent_*),
        Ed25519 session (sess_*), or portal token (portal_*).

````