{
    "description": "Calculating cost of a transaction",
    "endpoint": "/cost",
    "methods": [
        "post"
    ],
    "params": {
        "amount": 5000,
        "network": "mpesa",
        "transactionType": "withdrawal",
        "transactor": "agent"
    },
    "properties": {
        "cost": {
            "type": "number"
        }
    },
    "required": [
        "cost"
    ],
    "type": "object"
}