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 filteringGet Fee
GET /api/v1/fee-settings/:type/:partyGet specific fee setting by transaction and party typeUpdate 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 defaultsTransaction 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 + sender3
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 Fee
- Flat Fee