Update or create fee settings
Fees
Update Fee Setting
Create or update fee setting (upsert)
PUT
Update or create fee settings
Update Fee Setting
Create or update a fee setting. Uses upsert - creates if not exists, updates if exists.Endpoint
Authentication
string
required
Bearer token (Admin JWT)
Request Body
string
required
Transaction type
string
required
Party type:
sender, recipient, agent, processorstring
required
Fee calculation:
percentage or flatnumber
required
Fee value (percentage 0-100 or flat amount in SLE)
boolean
Apply fee on debit transactions
boolean
Apply fee on credit transactions
Example
Validation
- Percentage fee cannot exceed 100%
- Fee value must be >= 0
Errors
Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Body
application/json
Fee settings configuration
Response
OK
The response is of type object.