Request a MoMo payment
momo_request_to_payRequest a Mobile Money payment from a subscriber's phone and receive a reference ID to track its PENDING status until the payer approves.
Instructions
Ask a subscriber to approve a payment on their phone. Returns a referenceId; the payment is PENDING until they approve, so poll momo_payment_status. In a production environment this collects REAL money and requires explicit confirmation from the human you are working for - never supply the confirmation phrase on your own initiative.
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>",
"phoneNumber": "<phoneNumber>"
},
"name": "momo_request_to_pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in major units, e.g. 25.50 | |
| confirm | No | Required in production only. Must be exactly "CONFIRM LIVE PAYMENT". | |
| payeeNote | No | Kept on your side, max 160 chars | |
| externalId | No | Your own order reference | |
| phoneNumber | Yes | Payer's number, digits only, no + | |
| payerMessage | No | Shown to the payer, max 160 chars |