B2C Payments
Send a payout
Section titled “Send a payout”await mpesa.b2c.send({ recipientPhone: "254712345678", amount: 500, resultUrl: "https://example.com/mpesa/b2c/result", queueTimeOutUrl: "https://example.com/mpesa/b2c/timeout", remarks: "Partner settlement", occasion: "March payout",});commandIddefaults toBusinessPayment.- You can override it with
SalaryPaymentorPromotionPayment. - Treat the synchronous API response as submission acknowledgment only. Final status arrives through the result URL.
Required config
Section titled “Required config”shortCodeinitiatorNamesecurityCredential