Update or create fee settings
curl --request PUT \
--url https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"party_type": "<string>",
"transaction_type": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({party_type: '<string>', transaction_type: '<string>'})
};
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"
payload = {
"party_type": "<string>",
"transaction_type": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}{}{}{}Fee Settings
Update or create fee settings
Update existing or create new fee settings (admin only)
PUT
/
fee-settings
Update or create fee settings
curl --request PUT \
--url https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"party_type": "<string>",
"transaction_type": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({party_type: '<string>', transaction_type: '<string>'})
};
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"
payload = {
"party_type": "<string>",
"transaction_type": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}{}{}{}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.
⌘I