initiate_payment
Trigger a mobile money push payment for an existing booking by supplying the booking ID, provider, and customer's phone number.
Instructions
Initiate a customer push payment request for a booking.
Args:
booking_id: The ID of the booking to pay for.
provider: The provider of the booking (e.g. mysafari).
customer_phone: The phone number of the customer for mobile money push.
payment_provider: Optional mobile money provider name (e.g. VODACOM, TIGO).
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": {
"booking_id": "<booking_id>",
"provider": "<provider>",
"customer_phone": "<customer_phone>"
},
"name": "initiate_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | ||
| booking_id | Yes | ||
| customer_phone | Yes | ||
| payment_provider | No |