Skip to main content
DELETE
/
fee-settings
/
{transaction_type}
/
{party_type}
Delete fee settings
curl --request DELETE \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/fee-settings/{transaction_type}/{party_type} \
  --header 'Authorization: <api-key>'
{}

Delete Fee Setting

Remove custom fee setting and revert to preset defaults.

Endpoint

DELETE /api/v1/fee-settings/:transaction_type/:party_type

Authentication

Authorization
string
required
Bearer token (Admin JWT)

Path Parameters

transaction_type
string
required
Transaction type
party_type
string
required
Party type

Response

{
  "success": true,
  "message": "Fee settings deleted successfully. Reverted to preset defaults."
}

Errors

CodeDescription
404Fee settings not found
401Unauthorized
500Internal server error

Authorizations

Authorization
string
header
required

API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'

Path Parameters

transaction_type
string
required

Transaction Type

party_type
string
required

Party Type

Response

OK

The response is of type object.