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.
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 |