momo_initiate_payment
Request a mobile money payment in the XOF zone and get a payment link plus transaction IDs for reconciliation. This only initiates; the customer must pay, and the outcome is confirmed asynchronously.
Instructions
Request a mobile money payment from a customer in the XOF zone. IMPORTANT: this REQUESTS a payment, it never confirms one. A successful call means the aggregator accepted the request and returned a payment link; the customer has not paid yet and no money has moved. The final outcome arrives asynchronously and must be checked separately. Returns a payment_url that the customer must open to complete the payment, plus the transaction identifiers needed to reconcile it. The caller must supply a unique reference for idempotency; it is never generated silently. Amounts are whole XOF: the franc has no decimals. A server-side ceiling rejects amounts above the configured maximum.
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>",
"reference": "<reference>",
"description": "<description>",
"client_email": "<client_email>",
"client_first_name": "<client_first_name>",
"client_last_name": "<client_last_name>"
},
"name": "momo_initiate_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in whole XOF. The West African CFA franc has no decimal subunit, so this must be an integer — never a float. Rejected above the server's configured ceiling. | |
| country | No | ISO 3166-1 alpha-2 country code, needed only to interpret a national-format 'customer_phone'. Use momo_list_operators to see the supported countries. | |
| reference | Yes | Your own unique reference for this payment, used for idempotency and reconciliation. Maximum 30 characters. It is returned unchanged by the aggregator. Never reuse one, and never let it be generated for you: you need it to match the payment back to your order. | |
| description | Yes | Short label shown to the customer on the payment page. | |
| client_email | Yes | Customer email address. Required by the aggregator. | |
| customer_phone | No | Optional customer mobile number. Give it in E.164 form (+22670123456), or in national form together with 'country'. It pre-fills the payment page. Omit it to let the customer enter their own number. | |
| client_last_name | Yes | Customer last name, 2 to 255 characters. Required. | |
| client_first_name | Yes | Customer first name, 2 to 255 characters. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |