Amounts are integers in cents
150000 is KES 1,500.00. Never send decimals or floats. M-Pesa and SasaPay move whole shillings only, so their amounts must be multiples of 100. Anything else returns 400 invalid_amount.
Fees
You can see the fee before any money moves:GET /v1/merchants/{id}/fees lists every fee your business pays. These are the fee types:
On a collection,
fee_borne_by says who pays the fee:
merchant: the payer is chargedamountand your till receivesnet.payer: the payer is chargedamountplus the fee.
Custody
Each payment shows where the money sits, incustody: