Share your queries, seek advice, and learn from the collective wisdom of an engaged and informed MoMo Community
Recently active
Hi allI am trying to proceed with sandbox testing for the api in order to use it at a later stage for handling payments for a voucher service that uses among other things a USSD interface for mobile devices.I am experiencing errors when trying to create the API user for the sandbox and as a result can proceed no further.Please adviseThanksIain
Hello,We want to process PoS payment using tap to pay (NFC) with MTN momo. What is the suitable API process for this application?
Hello people,is the sandbox.momodeveloper.mtn.com server fully working and online? I tried to ping the server, response is "{ "statusCode": 404, "message": "Resource not found" }"
I want help on how to integrate MTN payment in my flutter application
<?phprequire 'vendor/autoload.php';use FannyPack\Momo\Products\Collection;// use FannyPack\Momo\Products\Disbursement;// use FannyPack\Momo\Products\Remittance;use Ramsey\Uuid\Uuid;$xReferenceId = Uuid::uuid4()->toString();$options = [ 'callbackHost' => 'sandbox.momodeveloper.mtn.com', 'subscriptionKey' => 'mygenerated_subs_key', 'xReferenceId' => get_uuid(),];$options['baseUrl'] = 'https://sandbox.momodeveloper.mtn.com';$product = Collection::create($options);$product->createApiUser();$apiKey = $product->createApiKey();$options['apiKey'] = $apiKey->getApiKey();$product = Collection::create($options);$token = $product->getToken();$options['accessToken'] = $token->getAccessToken();$product = Collection::create($options);// Example externalId generation$externalId = Uuid::uuid4()->toString();$product->requestToPay($xReferenceId, '46733123453', '1000', 'EUR', 'Payment for order #123', 'Thank you for shopping with us!');function get_uuid(){ r
I’ve been using https://momodeveloper.mtn.com/ and recently I came accross https://momoapi.mtn.com/And generally they do the exact things, except you’ll have to create a new account, which I did but they are taking too long to approve my product(Collections and Disbursement) subscriptions which makes me wonder if the site is still operational.Any answers will be much appriciated. Thanks.
Hi. I am trying to create an acess token on the sandbox environment but I am experiencing a 400 error. but I sent the request on postman and it went succesfully but failed on the momo developer sandbox and there is no additional info as to why it fails
Hi, I am Certified Salesforce Developer and looking to integrate salesforce with MTN momo through rest API. For initial Stages I am testing it in Sandbox and testing it in Postman about how the things are working.I have got 2 keys in my Profile Primery Key and Secondary Key. Whenever I try to generate an access token in POST man it says :{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."}I have tried adding both keys in header with parameter : Ocp-Apim-Subscription-Key = Key.I have subscriped the collection widget. IS the integration possible with salesforce?
I am using mtn momo for e wallet system, there is two product one is collection to collect the money from customer and disbursement to send money to customer, I want to know the balance in the collection product also available to disbursement?
Hello 🤗I want to implement the scenarios bellow, can you suggest for me the right endpoints:Transfer money from user account to his friend. Transfer money from user account to business accounts of some service providers (to pay a bill or any another service).I want to use CreateInvoice for both of cases, will it work? because the friend account is not for business, will this provide and error? does mtn make a difference between a merchant or a personal account?and what endpoints do you suggest for me.@byaruhaf @anicet @crankluga @allan.ddamulira @leontymo I would appreciate if you help me 🙏
Hello @everyone! What product should I use to transfer money between 2 users in My Application? Please
Good day team,I am completing the UAT test cases excel document for Collection. I have all other cases completed except the one for insufficient funds, i.e. sending a debit amount greater than Payer available balance. Because I do not know the balance I have, I decided to call the GetAccountBanlance end point. Unfortunately I am getting status 500 (internal server error), with the message “Authorization failed. Insufficient permissions.”Any assistance to point me to what I am not doing right.Thanks
I just saw a video on how to use the Momo OpenAPI but there is no documentation on the momo page. Can i get access to the implementation in the various languages, especially Javascript
We could no longer make any new request from our sandbox environment to any of the MoMo API endpoints. We keep receiving this error message "{ "statusCode": 403, "message": "Out of call volume quota. Quota will be replenished in 2.13:47:06." }"The main services requested includeDeposit V1 (https://sandbox.momodeveloper.mtn.com/disbursement/v1_0/deposit) RequestToWithdraw V1 (https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttowithdraw)These along with the associated check status APIs The error message indicates that the quota would be replenished in about 2 days but it has taken over a month now and the error still persist. Please, how can this issue be resolved?
good evening developers i need help. i downloaded momo sdk to integrate with my php code, i did test it with postman so i do have the api keys for the three products(collections, disbursement etc). i am also able to reach sandbox after integrating with mp php code(for testing) but im trying to call the get balance sample code and i believe i do get the feedback because i see a barrier token however i only want the account balance and not the whole information, its confusing and im not familiar with the curls although its php so i have no idea where to start inorder to get my balance request to be the only thing printed on the browser...thank for the help in advance. i get the following exception:omopsdk\Common\Exceptions\MobileMoneyException Object ( [rawData:momopsdk\Common\Exceptions\MobileMoneyException:private] => [errorObj:momopsdk\Common\Exceptions\MobileMoneyException:private] => [message:protected] => Service Unavailable [string:Exception:private] => [code:protected
we could no longer make any new request from our sandbox environment to any of the MoMo API endpoints. We keep receiving this error message "{ "statusCode": 403, "message": "Out of call volume quota. Quota will be replenished in 2.13:47:06." } "Please, how do we resolve this issue?
<?phpif ($_SERVER['REQUEST_METHOD'] === 'POST') { // Replace these with your actual API credentials $api_key = ''; $api_secret = ''; // Update the API endpoint $api_endpoint = 'https://api.mtn.com/collection'; // Data for the collection $data = array( // Validate and sanitize the amount input 'amount' => filter_var($_POST['amount'], FILTER_SANITIZE_NUMBER_INT), 'currency' => 'UGX', // Validate and sanitize the phone number input 'payer' => filter_var($_POST['phone_number'], FILTER_SANITIZE_FULL_SPECIAL_CHARS), // Specify the receiver of the money 'payee' => '256789123456', // Replace this with your own phone number or another phone number that you want to receive the money ); // Headers for the API request $headers = array( 'Authorization: Basic ' . base64_encode($api_key . ':' . $api_secret), 'Content-Type: application/json', ); // Initialize cURL session $ch = curl
api user failing with 400 error.
Getting a 400 bad request while doing a request payment in sandbox. with no further message and not sure why or what is wrong.
Hello,I am integrating my application with two APIs (Collection and Remittance)Collection API works ok, I can successfully call /requesttopay and receive callback after processing, but on Remittance collection I receive 400 over and over again. I have no idea why, because /requesttopay body and headers looks the same as in /transfer request. Any idea how to solve it ?My request
Hello all,Below are a few challenging cases I encountered while in the production. Any help in any way will be of great help to many developers. 1I successully make a request to pay but I have a case where the user enters1.1) a wrong pin.1.2) a pin not exactly 5 digits as required. The end point does not return any error or response. Normally I would need to get that error or response and do something server end.How do I get around a case like this? Or is there a way to get that error message? I have already used getRequestToPay/{X-referenceId} and it does not return anything in this case of a wrong pin. 2When a user cancels a transaction, I noticed that it still remains in status PENDING and when a user uses USSD, they can access the requestToPay awaiting their confirmation.I do not want this to happen. When a user cancels, the request should indeed be ended and not accessible any other way. how do i implement this. 3Lastly, How do i reduce the timeout time for requestToPay in the
How can the MoMo Open API be used to make bank transfers (both deposits and withdraws)?
Four months ago I completed a User Acceptance Test by demonstrating how the API Products(Disbursements and Collections) were integrated into our application. A followup email was sent saying “Kindly be informed that the team is aligning internally and will revert once completed. Thank you.”, but as of today not much has come of this even after I requested an update on the status of the Onboarding Stage.Requests to the Api Endpoints are no longer working and development on our application has stalled.How do I proceed?
Dear MTN MoMo team,Thank you for a great product. We are working on integration of the MoMo payment gateway into our App and wanted to ask about the following points:1. There is no API available for creating users.2. Regarding the 'ValidateAccountHolderStatus' API, where can I find the 'accountHolderIdType' and 'accountHolderId'?3. If a user is not registered and calls the 'GetBasicUserInfo' API, what error will be received? This is not specified in the API document.4. Will the 'RequesttoPay' API function in a way where, for example, the amount will be debited from the consumer (Payer) and credited to the Merchant's wallet?5. Will the 'RequestToWithdraw' API function in a way where, for example, the amount will be debited from the Merchant's wallet and credited to the consumer (Payer)? I am looking forward to hearing from you.All the bestBenjaminCARE Denmark
A step by step guide to create apiuser and apikey on momodeveloper.mtn.com in sandbox provisioning section.
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.