Share your queries, seek advice, and learn from the collective wisdom of an engaged and informed MoMo Community
Recently active
I am currently encountering this issue when attempting to download the Application Forms while applying to GoLive . It appears the issue is specific to Swaziland region, as I have successfully downloaded the forms for other countries without any problems.Your assistance will be greatly appreciated.
I am building a simple app for disbursement and would like to get consent from user(merchant) before disbursement with recipients managed on the web.Now I have gotten the Oauth2 token but can not find the endpoints to actually use it.I checked use cases page and it appears I can use MerchantTransferWithConsent but there is no documentation of endpoints on Postman Collection. How do I achieve this kind of disbursement with consent flow that I have?Thanks for your time.
I am trying to get Oauth2 token after successfully issuing a bc_authorize request and getting the auth_req_id.now trying to get token to the request by making a post to {{base_url}}/disbursement/oauth2/token/ and I keep getting 400 status error with no message, it is difficult to know exactly what I am doing wrong, I have attached screenshots of my Postman screen.~I appreciate the assistance
Good morning team, I hope you are doing great. I am having some concerns if you can help me:What is the role of bc-authorize and CreateOauth2Token ? (I didn’t understand how it happens in real time, or what is its use).what is the difference between CreateOauth2Token and CreateAccessToken?Why do I need bc-authorize and CreateOauth2Token if I can make my requests only with CreateAccessToken?
How can I be gaining in momo api
Comment passez au mode production de l'API MTN MoMo ?
Creating a Transfer on the Partner Portal gives either a “Transaction denied: Transaction Denied Rating” error or an “Internal Server Error” with no successful transaction.
How to create API User on Sand Box # %%import requests as rqimport jsonimport uuidurl = "https://sandbox.momodeveloper.mtn.com/v1_0/apiuser"API_USER = str(uuid.uuid4())headers = { "X-Reference-Id": API_USER, "Ocp-Apim-Subscription-Key": "4c91dae7a6f1474387a23a1f3d448eb7", "Content-Type": "application/json"}body = { "providerCallbackHost": "webhook.site"}resp = rq.request("post", url, json=body, headers=headers)print(resp.status_code,"\n API USER Is",API_USER)# %%url = "https://sandbox.momodeveloper.mtn.com/v1_0/apiuser/"+API_USER+"/apikey"headers = { "Ocp-Apim-Subscription-Key": "4c91dae7a6f1474387a23a1f3d448eb7", "Content-Type": "application/json"}resp = rq.request("post", url, headers=headers)print(resp.status_code,"\nAPI User is ",API_USER)jsn = resp.text.split(":")API_KEY = str(jsn[1].replace("}","")).replace("\"","")print("API Key is ", API_KEY)
I am trying to create a new user with the collection sandbox API but I keep getting the error below for this endpoint and another endpoint I tested since yesterday: {"statusCode": 500,"message": "Internal server error","activityId": "98383705-c916-4012-8e07-d27644e1da22"}
I have had this issue the whole of today. Is it an issue with the sandbox? { "statusCode": 500, "message": "Internal server error", "activityId": "c5f402f7-dabf-4473-8df7-2a1f4172a42d" }
Hello 🤗I tried to configure the callback URL in the sandbox with two values and both didn’t work. Here are the steps I followed:1- Created and API user:{"providerCallbackHost": "localhost:3000"}2- Generated and API key.3- Generated basic auth with the reference ID of the user API and the API key.4- added this header to the requesttopay:'X-Callback-Url': 'http://localhost:3000/api/mtn'I tried these values too:"providerCallbackHost": "kiad-api-pr-28.onrender.com"'X-Callback-Url': ‘http://kiad-api-pr-28.onrender.com/api/mtn’But these urls was never reached.Can you please help me 🤕@Ddamula @allan.ddamulira @crankluga @anicet
I have subscribed to the Collections product, and trying to test the request to pay (v1_0/requesttopay) in sandbox. I am setting the callback URL in the header of this request. Using the same domain I had provided while creating API user.The callback URL allows both HTTP and HTTPS, both PUT and POST is also allowed.The payments requests are getting accepted and when I do a status check they are successful. But I am not receiving any callbacks. I have tried sending multiple payment requests but did not receive callback for any of the request. Example request payload:URL: https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopayRequest payload:{"currency":"EUR","amount":"15","externalId":"b5926558-cd36-40fa-b455-67ef5e97d2e5","payer":{"partyIdType":"MSISDN","partyId":"22933123466"},"payerMessage":"Wallet Recharge","payeeNote":"Wallet Recharge"}
Hello I want to know what value concerns X-Target-Environment for the request headers in the sandbox because I put sandbox but the answer returns me an error 400 thank you kindly refer me to those who know this is a description about X-Target-Environment The identifier of the Wallet Platform system where the transaction shall be processed. This parameter is used to route the request to the Wallet Platform system that will initiate the transaction.
I keep getting this error in Postman even though I provide the Ocp-Apim-Subscription-Key holding my Primary Key. How do I set the Subscription Key Header to get rid of this error?500 Internal Server errorI have all four headers in place.It works fine when I use the API’s testing environment but I want to use something external to identify anything being done for me behind the scenes!I’m creating API User in sandbox!
Is there an API that allows me to verify if a number is registered for mobile money
Do momopay have peer-2-peer API?
Hey, does momopay reference support abc alphabet like 123abc amd secondly can we a momopay staging account before getting a real one?
failing 401
Hi,for I client I need to integrate the MTN Momo payment api. A company/cooperative wants to pay its suppliers (farmers) to their mobile numbers. I have seen the api docs, can create tokens, check balance etc in the sandbox environment. When the user is created a callback url can be registered. According to the docs the callback is used for the transfer endpoint. I was advised by others to use the ‘deposit’ endpoint to send money to the farmers ( https://sandbox.momodeveloper.mtn.com/disbursement/v1_0/deposit). But then would need calls to https://sandbox.momodeveloper.mtn.com/disbursement/v1_0/deposit/ to check the status. I cannot find info regarding this endpoint in the documentation, not sure if this is what I need to send money from a cooperative to its farmers mobile.I prefer using a callback instead to receive the status update. Question, can the deposit endpoint work with a callback? Or if not, is there another endpoint that I should use to be able to send mobile money from the
Hello, it seems that the sandbox server is acting up again. I am receiving a 500 error with every user creation request. HTTP responseHTTP/1.1 500 Internal Server Errorcontent-length: 111content-type: application/jsonvary: Origin{ "statusCode": 500, "message": "Internal server error", "activityId": "ed08f380-6e61-4ccf-bd2b-4a651709681b"}
Hello,I am working on the integration between our IT system and Momo Collection API.Could you please confirm me that I need to manage distincts Api User & Key & so JWT tokens for each country we will address ?If we address ten countries, we will have to refresh ten JwtTokens ?Will the called URLs be the same for all countries ?Thanks
Hi,I'm getting internal error 500 when trying to get access token, same thing for API user creation.[2024-06-01 08:34:25] local.ERROR:Server error: `POST https://sandbox.momodeveloper.mtn.com/collection/token/` resulted in a `500 Internal ServerError` response:{ "statusCode": 500, "message": "Internal server error", "activityId": "26ad2b84-b5fb-4035-a0e7-fcf80c1e5b23" }It has the same behavior as described in the following topic::
A few days ago, creating a payUrl to get a payment QR code went very well, however, today when testing the payment function again, even though there was no error during the order creation process and when checking the transaction status, the order still exists, but my payUrl is displayed as in the picture below, why is that?
Hi Team,We are building a ride-hailing app for the country of Ivory Coast. For the same, we are trying to integrate MTN money API into our mobile app which will allow drivers to request ride money from the riders. We are trying to setup a sandbox environment to test the APIs but are unable to do so.It would be great if someone from your developer team can help us with our queries over a call or we can put together our questions in an email for your team to answer.Regards
I’m in Benin, and searching through these pages, i have no answer. Can somebody help me. I got 401 even though i submitted the right suscription key.{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."}
Get Paid: Enabling Seamless Payments for All businesses from the MoMo Subscribers
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.