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.

create access token

The requested URL was rejected. Please consult with your administrator. Your support ID is: 17091155125704272782

Hidden
Wed, 31 May 2023 09:54:48 GMT
Proposed

/requesttopay/{referenceId} request returns a 200 Ok response but with "INTERNAL_PROCESSING_ERROR"

i'm receiving a 200 Ok response but with the transaction status "FAILED". All request parameters are correct and these requests worked in the past but now dont for some reason. Also my IP has been whitelisted.I tried it also on the developer console but to the same results(Images attached).

Hidden
Tue, 09 May 2023 16:58:32 GMT
Proposed

Request to Pay (Get and Post) Error

Endpoint returns "status":"failed "reason": "Internal Server Error" with no Pending transaction when viewed

Hidden
Tue, 02 May 2023 08:25:18 GMT
Proposed

bad request

this is the request am making but still get bad request POST https://proxy.momoapi.mtn.com/collection/oauth2/token/ HTTP/1.1 Host: proxy.momoapi.mtn.com Authorization: Basic NTNhZDc3MDktZGUwYS00NjBiLTljNjMtYjU4Yjc3ODczODQ5OjI5NDU3ZjI3MTBlMjQ2NjliNDllYTJjMDc0MzY2OTNj X-Target-Environment: MTN Uganda Content-Type: application/x-www-form-urlencoded Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• grant_type=urn:openid:params:grant-type:ciba&auth_req_id={auth_req_id}

Hidden
Wed, 19 Apr 2023 12:18:19 GMT
Proposed

Forbiden

help help

Hidden
Sun, 12 Mar 2023 10:57:45 GMT
Resolved

RequestToWithdraw check status not working

This endpoint (/requesttowithdraw/x-reference-id) returns a forbidden (403) error on every request

Hidden
Thu, 02 Mar 2023 13:58:55 GMT
Resolved

Disbursement Not Working

Every request to the deposit endpoint returns a "Forbidden" error (status code : 403) even though i have created valid api user and key on my portal. The api user and key works fine for the request withdrawal though and can even generate a disbursement token successfully. The only prolem is with the forbidden response from the deposit endpoint

Hidden
Thu, 02 Mar 2023 13:56:09 GMT
Proposed

Subscription key error

"Access denied due to invalid subscription key" error message when trying to access the MTN Mobile Money API, even though you have the correct subscription key,

Hidden
Wed, 01 Mar 2023 12:30:28 GMT
Proposed

HTTP 401 ERROR

We are incountering an error when we trying to use primary key for Colletion production API with the below Error code discription Access denied due to invalid subscription key.. please see the attached screenshot ans assit

Hidden
Mon, 16 Jan 2023 07:24:26 GMT
Proposed

Requesttopay/{referenceId} - GET

En production, le paiement ne s’initialise pas et le statut de la requête donne : [status] => FAILED [reason] => INTERNAL_PROCESSING_ERROR. Mais en locale le paiement passe normalement. Route: Requesttopay/{referenceId} - GET

Hidden
Tue, 08 Nov 2022 08:40:00 GMT
Proposed

API MANAGER

I would like to know how to access my API Manager

Hidden
Wed, 05 Oct 2022 07:55:40 GMT
Proposed

disbursements issues

[status] => FAILED [reason] => NOT_ALLOWED

Hidden
Fri, 08 Apr 2022 09:04:00 GMT
Proposed

My disbursements dont whorks

I have this error stdClass Object ( [statusCode] => 403 [message] => Forbidden )

Hidden
Fri, 04 Mar 2022 15:24:03 GMT
Proposed

Transfer response 400

Hello, We are trying to initiate a transfer, but keep getting ERROR 400. Server IPs are already whitelisted (35.204.145.83 , 35.204.4.204 , 80.92.78.38) Please find below the details of the request: [{"REQUEST":"Array ( [amount] => 1000 [currency] => XAF [externalId] => 112478484 [payee] => Array ( [partyIdType] => MSISDN [partyId] => 237670579919 ) [payerMessage] => Pay for product [payeeNote] => payer note ) ","HEADERS":"Array ( [0] => Ocp-Apim-Subscription-Key: 5a83b76e2c1144f49a2d68c90f1ba5d7 [1] => X-Target-Environment: mtnCameroon [2] => X-Reference-Id: dfda69ba-b59f-4675-98bd-3722c9faa18b [3] => Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSMjU2In0.eyJjbGllbnRJZCI6IjI0Y2M4YzRkLWVmNzQtNGE0OS04MjcxLTAxNTgxNzI4M2IxMSIsImV4cGlyZXMiOiIyMDIyLTAyLTA0VDE3OjMyOjE2LjY3NiIsInNlc3Npb25JZCI6IjNhZTYyMzgxLTI5YzYtNDhmMy1hZmE2LTI4MjRhZmMxZGFlZSJ9.Le3awlQmlALo2EYCSkia9agTIckTZg3C7-HScJJ6QobhX8dHv7S9NIpn4Wc0No3RAnvwFxjcSz78tvtLzsBuA-ys6LVsAmD8OmGTfd6lWnp0d6p2cUl6H8WrQ7oxE5awIDXU7aMRfXgGqQUeEgbPCBHVhm82cFGpxixXtiWNfF_pFCetgei9FdOXmdQoHPklc6y4PGiQdnqlr0zgx8erGyUhq1hCMQILtTg66avwiz94X3ezU-eLs9ExCgXx7G0ZMmZRy8_LVKGuCwRutaUjWdgVMqs2sKgMmWDTD8090LKRE9qeKv4uF6HOFqfWM5BXM7qhE2X3zhw_s7zHknzsMQ [4] => Content-Type: application/json ) ","RESPONSE":"400","URL":"https://proxy.momoapi.mtn.com/disbursement/v1_0/transfer"}]

Hidden
Tue, 15 Feb 2022 17:14:52 GMT
Proposed

success message takes ages..

We are not receiving success messages for payment in a reasonable time anymore. There is a big delay after completing the payment, like 10 minutes or more these days before the API communicates a payment success message.

Hidden
Wed, 24 Nov 2021 13:31:44 GMT
Proposed

status:"FAILED", reason:"NOT_ALLOWED"

Hello, try request on requestopay but get "status":"FAILED","reason":"NOT_ALLOWED"

Hidden
Sat, 20 Nov 2021 20:25:16 GMT
Proposed

My Application still into submited status

I submitted my application because I want to have the API key that will allow me to integrate the MOMO API into my application, but it's been over a week since I got nothing. As you can see in the attachment, the application remains with the submitted status. Please I want to know how to have the API key for my project to continue the integration.

Hidden
Tue, 16 Nov 2021 08:03:37 GMT
Proposed

Hope you are doing well. How do I subscribe to the disbursements API product? I am trying to follow the steps but I am unable to. Under the 'products' tab, there is no option to subscribe. In my profile

Hope you are doing well. How do I subscribe to the disbursements API product? I am trying to follow the steps but I am unable to. Under the 'products' tab, there is no option to subscribe. In my profile

Hidden
Tue, 21 Sep 2021 15:40:24 GMT
Proposed

hello, i have two issues when i try to integrate collection api in my application. Firstly, in development space, the request to Collection api respond fine (202) but the status of query is FALSE with reason PAYER_NOT_FOUND. but in production server, i receive for the same script an internal error (500) please help me to solve it. best regard

hello, i have two issues when i try to integrate collection api in my application. Firstly, in development space, the request to Collection api respond fine (202) but the status of query is FALSE with reason PAYER_NOT_FOUND. but in production server, i receive for the same script an internal error (500) please help me to solve it. best regard

Hidden
Tue, 21 Sep 2021 15:39:31 GMT
Proposed

How to create api user and api key

I would like to know how i can create the api user and api key details

Hidden
Wed, 25 Aug 2021 06:16:00 GMT
Proposed

unable to create collection request

hello, i have two issues when i try to integrate collection api in my application. Firstly, in development space, the request to Collection api respond fine (202) but the status of query is FALSE with reason PAYER_NOT_FOUND. but in production server, i receive for the same script an internal error (500) please help me to solve it. best regard

Hidden
Sun, 11 Jul 2021 06:46:13 GMT
Proposed

Access to target environment is forbidden.

Hello, We tried sending a request to https://proxy.momoapi.mtn.com/collection/v1_0/requesttopay using "production" environment and received following response: { "message": "Access to target environment is forbidden.", "code": "NOT_ALLOWED_TARGET_ENVIRONMENT" } Do you need to whitelist his IP address? Why is he not able to perform this action from his dev machine? Our payment service is currently not recording responses that we receive from MTN endpoints and we need to see them in order to troubleshoot why some transactions have failed. He wanted to try to send one of the failed requests from his local dev machine, in order to see the response he would receive from MTN. Please could you help us ?

Hidden
Thu, 08 Jul 2021 08:54:54 GMT
Proposed

Unable to subscribe to disbursements API

Hope you are doing well. How do I subscribe to the disbursements API product? I am trying to follow the steps but I am unable to. Under the 'products' tab, there is no option to subscribe. In my profile

Hidden
Mon, 24 May 2021 08:55:46 GMT
Proposed

Request to pay keeps failing with error message

I keep getting the folowing error message when I call the request to pay endpoint: "status": "FAILED", "reason": "PAYEE_NOT_FOUND" Please what could be the problem? Please help.

Hidden
Fri, 07 May 2021 10:45:13 GMT
Proposed

How do you credit a disbursement account?

After integrating the API for disbursement, I am still left with an empty account, and have no idea how the account gets credited to test productivity. Can anyone help?

Hidden
Thu, 29 Apr 2021 07:58:36 GMT
Proposed

Collection/token in production mode

i got this error The requested URL was rejected. Please consult with your administrator

Hidden
Sat, 17 Apr 2021 13:51:34 GMT
Proposed

401 Unauthorized {"error":"invalid_client"}

We have generated API credentials as follows API User & API Key: https://mm.mtn.bj/partner/ subscription Key: https://momoapi.mtn.com/developer "Primary Key" from Profile section. When we're calling /token - POST API (https://proxy.momoapi.mtn.com/collection/token/) it gives us error "invalid_client". We also try the "Secondary Key"

Hidden
Mon, 29 Mar 2021 09:38:27 GMT
Proposed

Get API user and API Key

how can get API User and API Key for production environment

Hidden
Mon, 22 Mar 2021 20:43:23 GMT
Proposed

Bugs with cors

Hi, i face this error in my live application. CORS policy block my request. I need support to solve it. Access to XMLHttpRequest at 'https://ericssonbasicapi1.azure-api.net/collection/token' from origin 'http://mywebsite.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Hidden
Tue, 09 Mar 2021 06:37:22 GMT
Proposed

Need some uqery

We already tested sandbox, but some queries for Live are given below - 1. Need to create user from production env? 2. I have already created API User from portal (https://mobilemoneyreadonly.mtn.co.ug/partner/). Here I have found API User. Use this as UUID? 3. Should be generate UUID from my end or not? 4. Next will generate pai key and then api token to trasnfer amount from client account to user account, is it correct, like sandbox? Thanks

Hidden
Mon, 01 Feb 2021 05:44:46 GMT
Proposed

INVALID_CALLBACK_URL_HOS

{"message":"Callback URL does not match the configured value.","code":"INVALID_CALLBACK_URL_HOST"} can you help me

Hidden
Mon, 25 Jan 2021 10:51:49 GMT
Proposed

Callback URL does not match the configured value.

{"message":"Callback URL does not match the configured value.","code":"INVALID_CALLBACK_URL_HOST"} can you help me

Hidden
Fri, 22 Jan 2021 17:23:54 GMT
Proposed

The requested URL was rejected. Please consult with your administrator.

The requested URL was rejected. Please consult with your administrator. Your support ID is: 2188255287872496852

Hidden
Fri, 22 Jan 2021 10:03:56 GMT
Proposed

The requested URL was rejected. Please consult with your administrator.

The requested URL was rejected. Please consult with your administrator. Your support ID is: 2188255287844123045 I am useing base url is https://proxy.momoapi.mtn.com/collection/v1_0/requesttopay

Hidden
Fri, 22 Jan 2021 07:24:32 GMT
Proposed

Error

Something is not right. It could be a temporary glitch or a bug. Please, try again.

Hidden
Wed, 20 Jan 2021 10:25:33 GMT
Proposed

CALL BACK URL

We need to edit the call back url ,how can we achieve this as now our requests are returning "Callback URL does not match the configured value" Please assist.

Hidden
Thu, 07 Jan 2021 15:48:01 GMT
Proposed

Request Rejected

The requested URL was rejected. Please consult with your administrator.

Your support ID is: 2188255285798471424

Hidden
Mon, 04 Jan 2021 18:03:57 GMT
Proposed

My payment request no longer returns anything

Good evening to you, I had completed my API a long time ago and everything was fine. Nobody touched anymore and now it doesn't work anymore. What happens is that the payment request does not return anything: Nothing in error and nothing more. Just an empty chain. What to do? knowing that my application is in production

Hidden
Tue, 08 Dec 2020 14:46:29 GMT
Proposed

LIVE ENDPOINTS

Hi there,we have received the production keys for momo integration.Kindly share with us the live endpoints

Hidden
Tue, 07 Jul 2020 11:29:47 GMT
Proposed

Production Environment: /token - POST gives 401 Unauthorized {"error":"invalid_client"}

We've generated API credentials as follows API User & API Key: https://momo.mtncameroon.net/partner/ subscription Key: https://momoapi.mtn.com/developer "Primary Key" from Profile section. When we're calling /token - POST API (https://proxy.momoapi.mtn.com/collection/token/) it gives us error "invalid_client".

Hidden
Thu, 02 Jul 2020 04:33:45 GMT
Proposed

Orion Pay

Sir, In testing our API we have the following message: Status: 401 Access Denied Body: { "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." } Can you assist our team

Hidden
Fri, 26 Jun 2020 09:37:56 GMT
Proposed

How to activate my API key for production

Hello Mr I would like to know if my account has already gone into production? And if so how to activate an API user and API key cordially

Hidden
Tue, 23 Jun 2020 07:45:32 GMT
Proposed

The requested URL was rejected.

The requested URL was rejected. Please consult with your administrator. Your support ID is: 9264346934457564275 [Go Back]

Hidden
Fri, 19 Jun 2020 12:45:28 GMT
Proposed

Rejected request on collection ID: 9264346934232320175

ID: 9264346934232320175 Pls whats the cause of reject request

Hidden
Sun, 14 Jun 2020 07:33:38 GMT
Proposed

Request Rejected

The requested URL was rejected. Please consult with your administrator.Your support ID is: 9264346934069873303

Hidden
Thu, 11 Jun 2020 13:31:23 GMT
Proposed

Unable to subscribe to disbursements API

Hi - I hope your day is going well. How do I subscribe to the disbursements API product? I am trying to follow the steps but I am unable to. Under the 'products' tab, there is no option to subscribe. In my profile, there is no option to create new subscriptions. Thanks! Paddy @ Segovia Technology

Hidden
Wed, 03 Jun 2020 15:08:51 GMT
Proposed

Request Rejected

Request Rejected The requested URL was rejected. Please consult with your administrator. Your support ID is: 9264346932799720644

Hidden
Sun, 24 May 2020 11:07:46 GMT
Proposed

Transfer request return 403

Request to https://ericssonbasicapi1.azure-api.net/disbursement/v1_0/transfer gives the following output: HTTP/1.1 403 Forbidden Content-Length: 45 Content-Type: application/json Request-Context: appId=cid-v1:e996501c-e721-4ac1-97ff-dc6887b85e8c Date: Mon, 20 Apr 2020 14:59:00 GMT { "statusCode": 403, "message": "Forbidden" }

Hidden
Mon, 20 Apr 2020 15:02:49 GMT
Proposed

Need a reversal for transaction: 9390291510

Please assist with the reversal of the following transaction: "amount":500000 "currency":"UGX", "externalId":"d4ea854d-8f6c-464e-8648-486395ebf6c5", "payee":{"partyIdType":"MSISDN","partyId":"256774567472"}, "payerMessage":"Bamubuka", "payeeNote":"Bamubuka" financialTransactionId":"9390291510" Created On: 2020-04-17 17:14:12 We would appreciate if this is issue treated with urgency.

Hidden
Fri, 17 Apr 2020 19:31:09 GMT
Proposed

Pre-approval request URL does not exist(Resource not found error)

Hello, I have been through the docs and I can't seem to get a working pre-approval request. Making a post requests with the provided parameters to `https://ericssonbasicapi1.azure-api.net/testpg/v1_0/preapproval` results in `{ "statusCode": 404, "message": "Resource not found" }` Anyhow knows how to resolve this?

Hidden
Sun, 01 Mar 2020 12:47:46 GMT
Proposed

internal processing error

i get a response that internal processing error anytime i initiate a request to pay.What co be the issue

Hidden
Thu, 13 Feb 2020 06:19:37 GMT
Proposed

Getting an "INTERNAL_PROCESSING_ERROR" upon requesting a payment

I am getting a 202 Accepted reponse status when i POST requesttopay. However,when i GET /requesttopay/{referenceId} to get the status of the requesttopay which i posted, i get a 200 OK response status with the following message in the Response Content: "status": "FAILED", "reason": "INTERNAL_PROCESSING_ERROR" Help!

Hidden
Thu, 06 Feb 2020 15:08:47 GMT
Proposed

CORS policy block my request

Hi, i face this error in my live application. CORS policy block my request. I need support to solve it. Access to XMLHttpRequest at 'https://ericssonbasicapi1.azure-api.net/collection/token' from origin 'http://mywebsite.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Hidden
Thu, 30 Jan 2020 17:51:52 GMT
Proposed

The requested URL was rejected

The requested URL was rejected. Please consult with your administrator.

Your support ID is: 9264346923092645461

Hidden
Mon, 16 Dec 2019 09:05:33 GMT
Proposed

Request Rejected

I get the response below when trying to get the token The requested URL was rejected. Please consult with your administrator. Your support ID is: 1871790610380822698

Hidden
Wed, 23 Oct 2019 17:03:30 GMT
Proposed

Collection endpoint returning 400

I was unable to test successfully collections endpoint on both sandbox and production alway returning error status code 400 Bad request. Without details of what went wrong. See sample logs below HttpResponseProxy{HTTP/1.1 400 Bad Request [Content-Length: 0, Date: Thu, 08 Aug 2019 12:20:49 GMT] [Content-Length: 0,Chunked: false]}

Hidden
Thu, 08 Aug 2019 19:06:02 GMT
Proposed

Request Payment not allowed

I have an issue when I send requestPayment. I get a callback with the message "NOT_ALLOWED". Kindly assist

Hidden
Tue, 25 Jun 2019 13:55:25 GMT
Proposed

Subscription Key

On using the subscription key available in our account we are getting an error saying invalid subscrption key, provide a validkey for an active subscription. I am attaching a screenshot of the same along with this query, kindly get back to me regarding this as soon as possible.

Hidden
Wed, 05 Jun 2019 11:45:31 GMT
Proposed

Production URL Confirmation

Please confirm the production URL is https://ericssonbasicapi1.azure-api.net/ I am getting error 401 - Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.

Hidden
Thu, 25 Apr 2019 13:25:08 GMT
Proposed

Account balance

I am testing the account balance using your console and i get "bad request" attached is screenshot. Please advise

Hidden
Thu, 21 Feb 2019 20:43:01 GMT
Proposed

Can't find the answer you are looking for?

We are here to help you should you need to speak to someone

Contact Support

Looking for developer documentation?

We have a resource to help you get up to speed with the MoMo API

View Documentation