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.

MTN MoMo PHP package (SDK)

Checkout this PHP package to wrap the Momo Api. let me know if you need help, post it on the github issues of the package. https://github.com/patricpoba/mtn-momo-api-php

Hidden
Tue, 25 Feb 2020 16:02:30 GMT
Proposed

INVALID_CALLBACK_URL_HOST

I provided a providerCallbackHost url of 'http://api2.ropaygh.com:2190/mtnpay_callback' in the apiuser section. When I make a request to the 'requesttopay' endpoint using the same url for the X-Callback-Url header, i get this error: {"message":"Callback URL does not match the configured value.","code":"INVALID_CALLBACK_URL_HOST"}. Please advice.

Hidden
Wed, 12 Feb 2020 16:43:40 GMT
Proposed

We can't able to access the API

We can't able to access the API - screenshot attached

Hidden
Tue, 04 Feb 2020 07:20:10 GMT
Proposed

Getting empty content when try to create api user

I have manage to create the api user response was 201,but the content is empty.Please help.

Hidden
Sat, 01 Feb 2020 14:23:10 GMT
Proposed

Sandbox User Provisioning

Getting the error below when self provisioning. What subscription key should be used in the call header since self provisioning is not listed under profile subscriptions { "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." }

Hidden
Fri, 31 Jan 2020 15:10:01 GMT
Proposed

GET-/v1_0/accountholder/{accountHolderIdType}/{accountHolderId}/active

why I am faceing bad request 404 when i want to get information below include api , i am include Authorization token of subscriber and demo account holder 45623568986 and account holder type in sandbox please provide solution or demo account holder and account holder type which are work and active on sandbox for testing purpose GET https://sandbox.momodeveloper.mtn.com/collection/v1_0/accountholder/45623568986/MSISDN/active HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: Basic eyJ0eXAiOiJKV1QiLCJhbGciOiJSMjU2In0.eyJjbGllbnRJZCI6ImZiNzc0YjkxLTFiYTMtNGJmZS04MDMxLWRjNWU5YTZjZTJlYSIsImV4cGlyZXMiOiIyMDIwLTAxLTI5VDA4OjIxOjU3LjYyOSIsInNlc3Npb25JZCI6IjM0OTY0ZTA3LTEzMzAtNDE1Ny04MGViLWFiMzhhZTZkNGMxMiJ9.FiTc1RjfFrWlTuW_JKcV3LnVcch0bvIs4d6zsS9uHMES9RW7rX46-ZV2pKAw-1gKJlBbTaCC4CL3bxgKyeD5wJOqA6Khi0NM1iAb9fIuqQ_mYvYlSRthM2mSgNv2JOItOiBgikNSkJaRUCemP6tmy9Kld-UFEz1zzIR7FdM5BYlxXqZilSioSiRWvcDk4Memwv3Oh5uM8bcR9swO_EzSO4vVtCCPLOPULAfgA37dFPNezVxBmg5CnDJlyx9o-SuvmAR7fifTDN1afvr0xQGdUCBFR6OsyAiZjAD0y8lXvNnZ4z5E_Jv8Z5gEbRJc3HOSBj2U3Y3GAZeCIal3_dYRxg X-Target-Environment: sandbox Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••

Hidden
Wed, 29 Jan 2020 07:35:26 GMT
Proposed

Poor Documentation

Whats the use of Developer docs if they cant explain even the most important items like X-Reference-Id: {baseUrl} and how to use or get them?

Hidden
Tue, 28 Jan 2020 16:02:01 GMT
Proposed

X-Reference-Id

Hey guys, where to find that X-Reference-Id for provisioning?

Hidden
Tue, 28 Jan 2020 14:57:29 GMT
Proposed

Cant Find API Keys on my dashbaord

I am new to momo Api. I subscribe to the collection Api but can't locate the Api Keys on Primary and Secondary Keys. Please i need help on how to get the Api Keys. Thanks

Hidden
Wed, 22 Jan 2020 06:55:18 GMT
Proposed

Sandbox URL Callback

Why isn't the code below working? What URL callback is suitable for the sandbox environment? Thanks!! POST https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: Basic ZTk5NjUwMWMtZTcyMS00YWMxLTk3ZmYtZGM2ODg3Yjg1ZThjOjA4MmMwMTg1YWFlZDRmZjlhMTMyZjZkMDY2MGZiYjlj X-Reference-Id: e996501c-e721-4ac1-97ff-dc6887b85e8c X-Target-Environment: sandbox Content-Type: application/json Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• { "amount": "10", "currency": "EUR", "externalId": "12345", "payer": { "partyIdType": "MSISDN", "partyId": "0785571876" }, "payerMessage": "Testing", "payeeNote": "Testing" }

Hidden
Sat, 18 Jan 2020 11:42:56 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