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