MoMo Open APIs SandBox
Number of APIs: 31
MTN MoMo Open APIs are a set of APIs that allow third-party developers to create innovative digital financial services using MTN Mobile Money platform.
These APIs facilitate all key use cases including consumer to business payments (C2B), business to business payments (B2B), collections, and disbursements, Cash In, Cash Out, Refund, Notification and more.
MoMo APIs are completely RESTful and all our responses are returned in JSON.
Get Started
Generate Subscription Keys
Sign up https://momodeveloper.mtn.com
Navigate to the products page Product-descriptions.
Select drop down on product that suits the business case and subscribe.
After completion, you can locate the Subscription Keys in your profile. Access additional information
through the link below on creating subscription keys How to create subscription keys
on MoMoDeveloper | MoMo Dev Community (mtn.com)
Configure the EnvEnvironment varibles as shown below
| Subscription name | Key Type | Variable |
| Disbursements | Primary | {{DisbursementSubscription-Key}} |
| Collections | Primary | {{CollectionSubscription-Key}}|
Fork the MoMo Open API Qodex Collection
Ensure the Environment is set to sandbox before running the collection.
The Collections and Folders have been configured with basic testing scripts to help narrow down the error scope
Generate API User and Key SandBox
Run the below request to generate API user and Key. These will be auto saved within the environment levaraging on scripting.
[Get API user and Key]
Test MSISDN Numbers
In the Sandbox, adjust the Test Numbers(MSISDN) within the sandbox envenvironment as follows.
Each numeric string yields a distinct response status within the Sandbox.
For Production, Number begins with the country code.
Number- {{MSISDN}} | Expected Status Response |
---|---|
46733123450 | Failed |
46733123451 | Rejected |
46733123452 | Timeout |
56733123453 | Success |
46733123454 | Pending |
-
Remittance-CashTransfer - cashtransfer POST {{base_url}}/remittance/v2_0/cashtransfer
-
Remittance-CashTransfer - cashtransfer status GET {{base_url}}/remittance/v2_0/cashtransfer/:Request_ID_Cash_Transfer
-
Authorization - Generate access_token POST {{base_url}}/collection/token/
-
Get Paid - Request To Pay POST {{base_url}}/collection/v1_0/requesttopay
-
Get Paid - Status Request To Pay GET {{base_url}}/collection/v1_0/requesttopay/:Request_ID_Debit
-
Get Paid - Notification POST {{base_url}}/collection/v1_0/requesttopay/{{Request_ID_Debit}}/deliverynotification
-
Account Balance - Get Account Balance GET {{base_url}}/collection/v1_0/account/balance
-
Get Paid - Refund Status GET {{base_url}}/disbursement/v1_0/refund/:Request_ID_Refund
-
Distribute-Cash IN - Deposit Request Status GET {{base_url}}/disbursement/v1_0/deposit/:Request_ID_CashIn
-
Payment - Create Payment POST https://sandbox.momodeveloper.mtn.com/collection/v2_0/payment