Connect. Share. Learn
Find answers, support, and inspiration from other MoMo API users.
You're not signed in. Please sign-in to report an issue or post a comment.
How to withdraw money from developer account?
Same as title
Bad Request when sending a post request. See my body and header
{ 'Authorization' : 'Bearer '+token, 'X-Callback-Url' : 'http://myapp.com/momoapi/callback', 'X-Reference-Id' : reference_id, 'X-Target-Environment' : 'sandbox', 'Content-Type' : 'application/json', 'Ocp-Apim-Subscription-Key': '019414ea5a5948039203bf5a1d87ce4c' } body = { "amount":"5000", "currency":"UGX", "externalId":"12345", "payer": { "partyIdType":"MSISDN", "partyId":"0780123456" }, "payerMessage":"text message", "payeeNote":"test note" }
Not an Issue, rather a support question
Does this api cover all countries in Africa using MTN?
Can't get response from token - POST web service call
POST https://ericssonbasicapi2.azure-api.net/collection/token/ HTTP/1.1 Host: ericssonbasicapi2.azure-api.net Authorization: Base64 encoded string (containing API user ID and API key) Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• I try this service call from my android app and i get SocketTimeOut Exception I also try this service from API sandbox and i didn't get any response from it
data-api-user-id
data-api-user-id
Running Localhost Application
Hello My application will be running on Localhost but i wanted clients who come to on site to pay through momo pay and how am i going to submit my application for review
400 Bad Request - requesttopay API
Hello, What is solution of above errors? Below is header and body params. [headers:protected] => Array ( [user-agent] => HTTP_Request2/2.3.0 (http://pear.php.net/package/http_request2) PHP/5.6.40 [authorization] => Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSMjU2In0.eyJjbGllbnRJZCI6IjQ4OGYyNzAzLTk0NjQtNGQyMy1iYjI2LTVlMTU5OWI0OTljMSIsImV4cGlyZXMiOiIyMDE5LTA2LTEyVDExOjEzOjAxLjM3NCIsInNlc3Npb25JZCI6ImJkMzUyN2JmLWRiOGMtNGIwZS05YjhmLTU3NTFkZThjYzZiYyJ9.F5cgsWzDi945fqu_24CSXJvwZFVJI1YkWF7KfsKqYHG5-YbO3doEyP2wzk3eKM5cCI8q63zzMreLlZRsbxJXfZN_YxaIPPaqTquAIFKcCDFziUfVhZDuVf9c5h2w3w6GyHl-5EJwtowapwJSjLbb26zqhtQWOUREykCcxnKCGOPTbDkdYSEYCUoP2q06bxerJyKgjEzpBxzH2urEdjYPTadLlw19VHij3pquVhESexdbB9KVr-C9ITC7el8L95uXcbmiaTBU-9vmwaajOsdtMttlPwEz4YEy2dBYUNVNeTEidskqInhtNrLcjZXBKkmKJgO0OS4D1fqiVp0XTYv4zw [x-callback-url] => http://babysitting4.bbcsproducts.com/mtn/callback.php [x-reference-id] => 488f2703-9464-4d23-bb26-5e1599b499c1 [x-target-environment] => sandbox [content-type] => application/json [ocp-apim-subscription-key] => 2420b5713a6f4387a945a39998b11f24 ) [_path:Net_URL2:private] => /collection/v1_0/requesttopay [_query:Net_URL2:private] => amount=5000¤cy=EUR&externalId=23312345&payer[partyIdType]=MSISDN&payer[partyId]=46733123450&payerMessage=test&payeeNote=test
Momo Pay API Client Packages
Hello, Are there any client packages we can just install to get access to the api without much hustle? I sort of built one for JavaScript/Typescript/Nodejs. I need it reviewed. https://github.com/sopherapps/mtn-pay-js I hope to build one for python too but I need to know whether I am on the right path first. Please review.
Create API user via python code
Sending the request via python code returns code 200 instead of 201. Print(data) does not print anything. b''
Create API User through API
Hi, I'm trying to make the MTN API integration in Safeboda, but I'm facing with an issue during the API user creation through the API. I just generate the Subscription Keys and making the following call to the API return the following error. curl -X POST \ http://momodeveloper.mtn.com/apiuser \ -H 'Content-Type: application/json' \ -H 'Ocp-Apim-Subscription-Key: aa1490b5298e4e1ab8d2d9b4d1986a75' \ -H 'X-Reference-Id: c576c5f8-8567-4b06-b32e-545d32770970' \ -H 'cache-control: no-cache' \ -d '{ "providerCallbackHost": "safeboda.com" }' Ocp-Apim-Subscription-Key: My primary key generated in the developer portal. X-Reference-Id: A UUID generated. Response: Status code: 500 Internal Server Error .... configuration system.web customErrors mode="Off" system.web configuration .... configuration system.web customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm" system.web configuration Do you have an idea about what I'm making wrong? Regards Ivan
Can't find the answer you are looking for?
We are here to help you should you need to speak to someone
Contact SupportLooking for developer documentation?
We have a resource to help you get up to speed with the MoMo API
View Documentation