List all fee settings
curl --request GET \
--url https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}{}Fees
List Fees
List all fee settings with optional filtering
GET
/
fee-settings
List all fee settings
curl --request GET \
--url https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}{}List Fee Settings
Retrieve all configured fee settings with optional filtering by transaction type.Endpoint
GET /api/v1/fee-settings
Authentication
string
required
Bearer token (Admin JWT)
Query Parameters
string
Filter by transaction type:
transfer_p2p, agent_cashin, pos_payment, etc.Response
{
"settings": [
{
"id": 1,
"transaction_type": "transfer_p2p",
"party_type": "sender",
"fee_type": "percentage",
"fee_value": 1.5,
"debit_enabled": true,
"credit_enabled": false,
"updated_at": "2025-01-15T10:30:00Z",
"updated_by": "admin"
},
{
"id": 2,
"transaction_type": "agent_cashin",
"party_type": "agent",
"fee_type": "flat",
"fee_value": 500,
"debit_enabled": true,
"credit_enabled": false,
"updated_at": "2025-01-15T10:30:00Z",
"updated_by": "admin"
}
],
"count": 12
}
Errors
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 500 | Internal server error |
⌘I