accountBalance method
Enquire the balance on an M-Pesa BuyGoods (Till Number)
remarks
Comments that are sent along with the transaction. Sentence of up to 100 characters
queueTimeOutURL
This is the URL to be specified in your request that will be used by API Proxy to send notification incase the payment request is timed out while awaiting processing in the queue.
resultURL
This is the URL to be specified in your request that will be used by M-PESA to send notification upon processing of the payment request.
Implementation
Future<MpesaResponse> accountBalance({
required String remarks,
required String queueTimeOutURL,
required String resultURL,
}) {
var _res = MpesaAccountBalance(
this,
remarks: remarks,
queueTimeOutURL: queueTimeOutURL,
resultURL: resultURL,
);
return _res.process();
}