initiateB2cTransaction

B2C - Transact between an M-Pesa short code to a phone number registered on M-Pesa.

Return

successful acknowledgement B2cResponse response object.

Parameters

b2cRequest

The B2C request object

Throws

DarajaApiException

if there is an error in the API call.