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

# Set fee

> This endpoint allows you to set fee configuration for account.



## OpenAPI

````yaml openapi.json post /fee
openapi: 3.0.3
info:
  title: Bread API
  description: >-
    The Bread provides comprehensive cryptocurrency wallet management
    capabilities including wallet creation, balance monitoring, and asset
    transfers.
  version: 2.0.0
servers:
  - url: https://processor-prod.up.railway.app
    description: Production server
security: []
paths:
  /fee:
    post:
      tags:
        - User
      summary: Set fee
      description: This endpoint allows you to set fee configuration for account.
      operationId: setFee
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetFeeRequest'
      responses:
        '200':
          description: Fee set successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetFeeResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SetFeeRequest:
      type: object
      required:
        - type
        - value
      properties:
        type:
          type: string
          enum:
            - percentage
            - fixed
          description: Fee type - percentage or fixed amount
          example: percentage
        value:
          type: number
          description: 'Fee value. For percentage: 0-50%, for fixed: 0-5000'
          example: 0.5
        cap:
          type: number
          minimum: 0
          maximum: 5000
          description: Maximum fee cap (optional)
          example: 500
        min:
          type: number
          minimum: 0
          maximum: 5000
          description: Minimum fee amount (optional)
          example: 0.05
    SetFeeResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        status:
          type: integer
          example: 200
        message:
          type: string
          example: Fee set successfully
        timestamp:
          type: string
          format: date-time
          example: '2025-09-28T16:49:11.472Z'
        data:
          type: object
          properties:
            type:
              type: string
              description: Fee type
              example: percentage
            value:
              type: number
              description: Fee value
              example: 0.5
            max:
              type: number
              description: Maximum fee amount
              example: 500
            min:
              type: number
              description: Minimum fee amount
              example: 0.05
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-service-key

````