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.

Postman Collection

I just figured out that Widget Demo is not working in the Sandbox. Looks like invoices are invalid. Also if you want to try other APIs, Collection, Disbursments in Postman i made a collection which u can download here https://www.clickon.ch/momopay-postman, i have also described several issues with MoMoApi under "Demystifying MoMoPay API Sandbox". Maybe u can fix these at some point! Thanks! Bless!

Hidden
Thu, 29 Oct 2020 10:58:09 GMT
Proposed

500 Internal Server Error on creating API user

I have been trying to create an API User from India using the API https://sandbox.momodeveloper.mtn.com/v1_0/apiuser but I'm always getting an Internal server error. This is the response I got in both Postman and in the Api sandbox (try it) environment. { "statusCode": 500, "message": "Internal server error", "activityId": "ccae632f-5bf2-4483-aaca-8956bcf1a2ad" } Is these APIs can only be accessed from certain locations? Please help me ASAP

Hidden
Fri, 09 Oct 2020 07:33:48 GMT
Proposed

unable to go live

Hello, I apply for Go Live since 15 days and I didn't received a response from your services.

Hidden
Tue, 06 Oct 2020 20:02:24 GMT
Proposed

API Sanbox -- callback not working ( /requesttopay )

When exactly the callback we pass in the headers [ X-Callback-Url ] gets called? I have tried different testing numbers. But the callback url that I provided is never called, even after hours.

Hidden
Tue, 25 Aug 2020 05:34:45 GMT
Proposed

Request to pay

Bad Request - Invalid URL HTTP Error 400. The request URL is invalid.

Hidden
Sun, 19 Jul 2020 20:36:56 GMT
Proposed

400 Bad Request error - requesttopay

I am getting "400 Bad Request" response yet I have filled everything correctly even the Bearer authorization, please validate for me what the issue might be. Below is the request I am sending: POST https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSMjU2In0.eyJjbGllbnRJZCI6ImEyZDBjODVkLWI4MzQtNGI3NC1hY2U1LWRiNjY5MTI1MTc3NyIsImV4cGlyZXMiOiIyMDIwLTA2LTE2VDA3OjA3OjAxLjA1NSIsInNlc3Npb25JZCI6IjYwMThhZjc5LTMwMDAtNGUwOC1iNjVkLTgzY2ZjNDVkZDBiNCJ9.DUqskHhUebDWy8DmVH4iiEsIpwtsB6KyhTBY-nk_QBLmGtQIqfAcJ-EcgtZ_2LtUHWaArHd2BulLXSatkLvT3O-Up348T8kTsLFYHHc5qo8_6XE-i33w9iCBgOpj4ynEoqlS0FRh7B27s4TCD72QNXyHT_C9N3Z-WsY4qjnOVYa75OOrkNUMNdd3vz99W2z4u3CwmpjGnYNogoKR8x1SIPHCFQBBgibIlODDGHrisD7jEIGMdehtGkwCdEPb3QSgG0zSzM3skrFd0H17wE7niL99xtT3qXcIdjnDSQEzp21PaM1G7X6ahW5DUy4xncD2a8sYR4-eAGxnLCjTvtJ-pg X-Callback-Url: http://*******.******.com/index.php?callback_action=1 X-Reference-Id: 045ffaca-5a9b-4298-a456-cb4cf355bb49 X-Target-Environment: sandbox Content-Type: application/json Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• { "amount": "10", "currency": "EUR", "externalId": "124467", "payer": { "partyIdType": "MSISDN", "partyId": "46733123453" }, "payerMessage": "Test", "payeeNote": "Test" }

Hidden
Tue, 16 Jun 2020 06:15:40 GMT
Proposed

Error 505 Internal Server Error

I have an an error 505 that cannot be found amongst common errors This arrived in trying to generate a token for disbursements b'{ "statusCode": 500, "message": "Internal server error", "activityId": "2c68016f-c5d0-40e8-82f7-0d4c2213db34" }'

Hidden
Mon, 08 Jun 2020 18:56:54 GMT
Proposed

Authorization header value??

When creating the access token, what do we pass as the value for the Authorization header?

Hidden
Sun, 24 May 2020 08:51:58 GMT
Proposed

creating a sandbox user fails with http status 500

im doing a request that looks sth like below, with a proper and active subscription key. however, the response status is always 500. tried with the primary and secondary subscription key. POST /v1_0/apiuser HTTP/1.1 Host: sandbox.momodeveloper.mtn.com X-Reference-Id: a191340a-8531-471a-afb5-1cea925b8da3 Ocp-Apim-Subscription-Key: 9999d9999c79999f9c9999ff41729999 {"providerCallbackHost":"mocky.io"}

Hidden
Sun, 17 May 2020 14:39:02 GMT
Proposed

Error Code 403: Forbidden

Getting {"code":"Forbidden","message":403} for every request, kindly assist!

Hidden
Mon, 16 Mar 2020 15:25:44 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