Skip to main content
GET
/
api
/
v1
/
fee-settings
List Fees
curl --request GET \
  --url https://api.example.com/api/v1/fee-settings \
  --header 'Authorization: <authorization>'

List Fee Settings

Retrieve all configured fee settings with optional filtering by transaction type.

Endpoint

GET /api/v1/fee-settings

Authentication

Authorization
string
required
Bearer token (Admin JWT)

Query Parameters

transaction_type
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

CodeDescription
401Unauthorized
500Internal server error