MTN Mobile Money (MoMo)
MTN_MOMO collects through MTN’s MoMo Collections API. Centipid sends a
RequestToPay to the subscriber’s MoMo number, the subscriber approves it on
their handset, and Centipid verifies the result directly with MTN before
recording the payment or restoring service.
The gateway catalog offers MTN MoMo in Uganda, Ghana, Côte d’Ivoire, Zambia,
Benin, and Cameroon.
Before you start
Your MTN account must be approved for the Collections product in the target market. Obtain these values from MTN:
The API user’s registered callback host must match the hostname shown on the
Centipid gateway page. Production activation, credentials, settlement currency,
and commercial approval are handled by the MTN operation in each country.
Connect MTN MoMo
1
Open the gateway
Go to Settings → Payments → MTN Mobile Money (MoMo).
2
Confirm the callback host
Copy the displayed callback URL when MTN asks for it. The callback host must
be your current Centipid workspace hostname.
3
Enter the credentials
Enter the Collections subscription key, API user, and API key, then save.
The subscription key and API key are handled as secret inputs.
4
Connect the gateway
Complete the payment-gateway change verification and connect MTN MoMo.
How settlement works
- Centipid saves the checkout reference and subscriber/package context before sending RequestToPay.
- MTN returns
202 Acceptedand prompts the subscriber’s handset. - MTN may call the workspace callback URL. Because that callback is unsigned, Centipid treats it only as a signal to query MTN.
- A background job polls MTN independently, so settlement still completes when the callback is missed or the payer closes the browser.
- Successful status creates one checkout-keyed payment and runs the normal exactly-once subscriber provisioning pipeline.
Sandbox and production
Sandbox payments use MTN’s published test numbers and outcomes. Never use a real
subscriber wallet as a sandbox fixture.
