Share sandbox questions and get support from the community
Recently active
I have been looking through the documentation and can’t find much information about the collection widget product. All I could find is that it enables a developer or partner to integrate a MoMoPay checkout button to accept Mobile Money payments on your e-commerce site. but what differentiates it from the othe collections product and how can we implement it in the sand box.
Hi!When I do a POST to the CreateAccessToken endpoint I get a response where the token_type has a value set to "access_token" instead of something like "Bearer". I’m expecting the token_type to be Bearer since the Transfer endpoint documentation states that the Authorization header should be the “Bearer Authentication Token generated using CreateAccessToken API Call”.Am I missing something?Any help/advice would be greatly appreciated!
I am trying to creacte an api user in the sandbox environment, I can verify that I am doing everything correctly however I am getting “Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.” . I have tried using the primary and secondary keys, none are working for me. I have gone through most of the issues mentioned and the solution people justed nothing seems to be working for me. As a reference this is the request I am making,curl --location 'https://sandbox.momodeveloper.mtn.com/v1_0/apiuser' \--header 'Ocp-Apim-Subscription-Key: b93400415bde4c96b06c57e698789cda' \--header 'X-Reference-Id: 8b1a5696-9c43-41c6-a884-d11e0f5bfe17' \--header 'Content-Type: application/json' \--data '{ "providerCallbackHost": "https://webhook.site/b6b6cb4c-e9fa-42b8-96a8-b82e25859b85"}'
Hello, i m using momo for wallet base . The wallet is not momo wallet but the user can request to send money in her momo to another account. We need to check balance and transfert the Money from one account to another . How can i achieved that ? thanks
Hi there,It seems that you have some issues with the generated subscription keys for this Collection Widget. Can you please help me get a proper key that I can use. Neither the primary nor the secondary keys are working.
Hello,I am trying to call disbursement/v1_0/refund on the sandbox but I always get http 400 - Bad Request.Is this method working on the sandbox ? I’ve also tried from your documentation website. Here is the syntax used : POST https://sandbox.momodeveloper.mtn.com/disbursement/v1_0/refund HTTP/1.1Authorization: ...X-Reference-Id: 0a63a755-355f-409c-a94d-a42818dea651X-Target-Environment: sandboxContent-Type: application/jsonCache-Control: no-cacheOcp-Apim-Subscription-Key: 539f8a1f05d94b17a4e53cbe90219f15{ "amount": "7500.9", "currency": "EUR", "externalId": "2B58A65F38C5EA0EE06323671FAC0695", "referenceIdToRefund": "579530f0-68d5-4886-b352-bdec7f816c9f"} HTTP/1.1 400 Bad Requestcontent-length: 0date: Fri, 10 Jan 2025 13:38:44 GMTvary: Originx-xss-protection: 1; mode=block
Hello sir/madam,I have subscripted Collection Widget product but both key is not working. please help.
I have created an API user and API key on sandbox and has set the providerCallbackHost correctly, However when I try to make a disbursement on the endpoint disbursement/v1_0/deposit, I am getting the error “Callback URL does not match the configured value.” on request. even though the callback url host is the same as providerCallbackHost when creating the API user.attached are screenshots of the request and response.
Hello guys,I’m receiving this error when i try to get access_token “The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch, RemoteCertificateChainErrors” I’m using .Net environment
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
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?
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"}
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::
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.