getAccountBalance

Account balance - Enquire the balance on an M-Pesa BuyGoods (Till Number).

The Account Balance API is used to request the account balance of a short code. This can be used for both B2C, buy goods and pay bill accounts.

Return

successful acknowledgement AccountBalanceResponse response object.

Parameters

accountBalanceRequest

Account balance request object.

Throws

MpesaException

when there is an error in the request.