b2c_payment
Disburse funds to customers for refunds, withdrawals, salaries, or promotional winnings. Asynchronous callback returns the payment result.
Instructions
Pay money out to a customer: refunds, withdrawals, salaries, promotional winnings. Asynchronous; the result arrives on a callback.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"phoneNumber": "<phoneNumber>",
"amount": "<amount>"
},
"name": "b2c_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in KES, whole numbers only. | |
| remarks | No | Payment | |
| occasion | No | ||
| commandId | No | BusinessPayment for general payouts, SalaryPayment for salaries (allows unregistered recipients), PromotionPayment for winnings. | BusinessPayment |
| resultUrl | No | ||
| shortCode | No | ||
| phoneNumber | Yes | Recipient phone number. |