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
/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).
Request to Pay (Get and Post) Error
Endpoint returns "status":"failed "reason": "Internal Server Error" with no Pending transaction when viewed
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}
Forbiden
help help
RequestToWithdraw check status not working
This endpoint (/requesttowithdraw/x-reference-id) returns a forbidden (403) error on every request
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
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,
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
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
API MANAGER
I would like to know how to access my API Manager
disbursements issues
[status] => FAILED [reason] => NOT_ALLOWED
My disbursements dont whorks
I have this error stdClass Object ( [statusCode] => 403 [message] => Forbidden )
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"}]
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.
status:"FAILED", reason:"NOT_ALLOWED"
Hello, try request on requestopay but get "status":"FAILED","reason":"NOT_ALLOWED"
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.
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
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
How to create api user and api key
I would like to know how i can create the api user and api key details
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
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 ?
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
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.
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?
Collection/token in production mode
i got this error The requested URL was rejected. Please consult with your administrator
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"
Get API user and API Key
how can get API User and API Key for production environment
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.
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
INVALID_CALLBACK_URL_HOS
{"message":"Callback URL does not match the configured value.","code":"INVALID_CALLBACK_URL_HOST"} can you help me
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
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
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
Error
Something is not right. It could be a temporary glitch or a bug. Please, try again.
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.
Request Rejected
The requested URL was rejected. Please consult with your administrator.
Your support ID is: 2188255285798471424
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
LIVE ENDPOINTS
Hi there,we have received the production keys for momo integration.Kindly share with us the live endpoints
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".
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
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
The requested URL was rejected.
The requested URL was rejected. Please consult with your administrator. Your support ID is: 9264346934457564275 [Go Back]
Rejected request on collection ID: 9264346934232320175
ID: 9264346934232320175 Pls whats the cause of reject request
Request Rejected
The requested URL was rejected. Please consult with your administrator.Your support ID is: 9264346934069873303
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
Request Rejected
Request Rejected The requested URL was rejected. Please consult with your administrator. Your support ID is: 9264346932799720644
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" }
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.
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?
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