b2b_payment
Pay another business via M-Pesa: settle PayBills, Buy Goods tills, or top up B2C working accounts.
Instructions
Pay another business: a PayBill, a Buy Goods till, or a B2C working account top-up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in KES, whole numbers only. | |
| target | Yes | paybill pays a PayBill, buygoods pays a till, topup funds a B2C working account. | |
| remarks | No | Payment | |
| requester | No | Optional phone number of the person on whose behalf you are paying. | |
| resultUrl | No | ||
| shortCode | No | ||
| accountReference | No | Required for paybill. Ignored for buy goods. | |
| receiverShortCode | Yes | Shortcode being paid. |