create_mobile_money_payment
Charge an African mobile-money wallet by providing amount, provider code, and payer phone number. Verify provider and currency units first, then create the payment.
Instructions
Charge an African mobile-money wallet (M-Pesa, Airtel, MTN, Mixx by Yas and the rest). Call get_supported_countries first for the provider code, and get_supported_currencies for whether the amount is whole units or cents.
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": {
"amount": "<amount>",
"provider": "<provider>",
"account_number": "<account_number>"
},
"name": "create_mobile_money_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | In the smallest unit of the currency. Most African currencies have none, so this is whole units. | |
| currency | No | ||
| provider | Yes | The providerCode from get_supported_countries, e.g. "Vodacom", "MTN". | |
| account_number | Yes | The payer's phone number in full international form, no plus. | |
| merchant_reference | No |