cURL
curl --request PUT \ --url https://api.example.com/api/v1/fee-settings \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "transaction_type": "<string>", "party_type": "<string>", "fee_type": "<string>", "fee_value": 123, "debit_enabled": true, "credit_enabled": true } '
Create or update fee setting (upsert)
PUT /api/v1/fee-settings
sender
recipient
agent
processor
percentage
flat
curl -X PUT "https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings" \ -H "Authorization: Bearer ADMIN_JWT" \ -H "Content-Type: application/json" \ -d '{ "transaction_type": "transfer_p2p", "party_type": "sender", "fee_type": "percentage", "fee_value": 1.5, "debit_enabled": true }'