Skip to main content
Fee settings control how transaction fees are calculated and charged. Custom settings override built-in defaults.

Overview

Fee Types

  • Percentage: Charge % of transaction amount
  • Flat: Fixed fee per transaction

Party Types

  • Sender: Person initiating transfer
  • Recipient: Person receiving funds
  • Agent: Cash-in/cash-out agent
  • Processor: POS merchant

Endpoints

List Fees

GET /api/v1/fee-settingsRetrieve all configured fee settings with optional filtering

Get Fee

GET /api/v1/fee-settings/:type/:partyGet specific fee setting by transaction and party type

Update Fee

PUT /api/v1/fee-settingsCreate or update fee setting (upsert operation)

Delete Fee

DELETE /api/v1/fee-settings/:type/:partyRemove custom fee and revert to defaults

Transaction Types


Fee Calculation Example

1

Transaction Initiated

User transfers 50,000 SLE to another user
2

Fee Lookup

System checks fee settings for transfer_p2p + sender
3

Fee Applied

Fee: 1.5% of 50,000 = 750 SLETotal debited: 50,750 SLE
4

Recipient Credited

Recipient receives full 50,000 SLE

Configuration Examples

Percentage fees cannot exceed 100%. Changes take effect immediately.

Response Structure