Appearance
Fees
Payouts, refunds and transfers are free for now, in Kenya and Uganda. A payer who pays by card adds the card fee on top of the amount. A platform reads what is charged today with GET /fees.
| What | Fee | Who pays |
|---|---|---|
| A payout to a phone | Free for now | |
| A refund paid back to a phone | Free for now | |
| A refund to a MOOKHPay balance or a card | Free | |
| A transfer between MOOKHPay accounts | Free | |
| A pay-in from a platform's main balance into a user's pocket | Free | |
| Paying a checkout or charge by mobile money | No fee for the payer | |
| Paying a checkout or charge by card | The card fee | The payer, on top of the amount |
Payouts to a phone are free for now
A payout made through the API (POST /accounts/{id}/payouts) or in the MOOKHPay app costs nothing today. The payout object still carries fee and total, in minor units like amount. Today fee is 0 and total equals amount.
Read the fee from those fields rather than assuming it is zero. If MOOKHPay starts charging a payout fee, it is announced in the changelog first, and then:
- the fee is taken from the wallet on top of the amount, and the phone receives exactly
amount; - the wallet must hold
amountplus the fee, or the payout is refused with422and code2732(INSUFFICIENT_BALANCE); - a payout that fails, or is reversed, returns the fee with the amount;
- your platform's daily payout cap counts
amount, not the fee.
In pocket mode the same holds, with the pocket in place of the wallet: the fee is taken from the pocket on top of amount, the pocket must hold both, and a failed payout returns both to the pocket.
Refunds to a phone are free for now
A refund that MOOKHPay pays back to the payer's phone is a payout and follows the payout fee, which is free today. The payer receives the full refund amount. A refund to the MOOKHPay balance the payer paid from, or to their card, is always free.
The refund object shows the fee as fee. It is 0 today. It can be more than 0 only once method is mobile.
Transfers between MOOKHPay accounts are free
Money moved from one MOOKHPay account to another costs nothing to either side, in Kenya and Uganda.
A pay-in (POST /accounts/{id}/transfers), which moves money from a platform's main balance into the pocket it opened in a user's wallet, is free too. The pocket receives exactly amount, and exactly amount leaves your main balance. There is no fee field on a transfer.
Read the fees with the API
GET /fees answers what MOOKHPay charges on this deployment today. A platform uses it to show a seller the fee before they confirm a payout, and to offer "everything less the fee".
| Needs | |
|---|---|
| A platform key | With accounts:read, payouts:write or transfers:write |
| The platform API on the deployment | Otherwise the route answers 404. It is on in Kenya |
json
{
"ok": true,
"description": "Fees",
"data": {
"currency": "KES",
"payout": { "mpesa": { "rail_fee": "0", "mookhpay_fee": "0", "total": "0" } },
"topup": { "mpesa": { "rail_fee": "0", "mookhpay_fee": "0", "total": "0" } },
"card": { "KES": "2500" }
}
}| Field | Meaning |
|---|---|
currency | The deployment's currency |
payout.<rail> | The fee on a payout to a phone on that rail: rail_fee (the network's), mookhpay_fee and their sum total. Charged on top of amount |
topup.<rail> | The fee on a mobile-money top-up a person makes in MOOKHPay. Not charged on a checkout or charge |
card.<currency> | The card fee a payer adds on top, per currency |
Every amount is a string in minor units, unlike the integers elsewhere. Only the rails this deployment runs are listed, and a fee that is not set reads "0".
The most a seller can be paid out is their balance less payout.<rail>.total. Still read fee on the payout the create call answers: that is what was charged.
The payer pays exactly the checkout amount
A payer who pays a checkout or a direct charge by mobile money is prompted for the amount and nothing more. A payer who pays by card adds the card fee on top, and the card fee is not taken from the amount. See Card payments.