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

# Calculate NGN transfer fee



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/transfers/fiat/calculate-fee
openapi: 3.1.0
info:
  title: FossaPay API
  description: >-
    FossaPay API for checkout wallets, master-wallet payouts, customer
    management, NGN wallets, crypto wallets, transfers, fees, banks, and
    webhooks.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api-production.fossapay.com
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /api/v1/transfers/fiat/calculate-fee:
    get:
      tags:
        - NGN Transfers
      summary: Calculate NGN transfer fee
      operationId: FiatTransfersController_calculateFee
      parameters:
        - name: amount
          in: query
          required: true
          schema:
            type: number
            minimum: 0.01
      responses:
        '200':
          description: Transfer fee calculated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FiatFeeQuoteResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    FiatFeeQuoteResponse:
      type: object
      required:
        - status
        - statusCode
        - message
        - data
      properties:
        status:
          type: boolean
        statusCode:
          type: integer
        message:
          type: string
        data:
          type: object
          required:
            - amount
            - currency
            - feeAmount
            - total
          properties:
            amount:
              type: number
            currency:
              type: string
              enum:
                - NGN
            feeAmount:
              type: number
            total:
              type: number
          additionalProperties: true
      additionalProperties: true
    ApiError:
      type: object
      properties:
        status:
          oneOf:
            - type: string
            - type: boolean
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
        code:
          type: string
        errors:
          type: object
          additionalProperties: true
      additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````