Share sandbox questions and get support from the community
Recently active
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
How can the MoMo Open API be used to make bank transfers (both deposits and withdraws)?
A step by step guide to create apiuser and apikey on momodeveloper.mtn.com in sandbox provisioning section.
Hi I am getting a 400 error. When trying to create an auth 2 token. I have all the required fields filled up but I still getting the error. Can you guide me through
Good morning house,Please can anyone just give me a brief flow on how a wallet system can work with momo APIsThank you
How can i configure callback in SandBox ?
Good morning MTN community 😊I want to use Remittance product to allow my app users to transfer money to their friends.I got confused about which endpoint to use, cashTransfer or Transfer.in the transfer request body the sender is not mentioned, therefor the sender is my application account not my user’s account right? in cashTransfer, are the funds transfered from the mtn mobile money account or in cash? and can you give me an example of values of the following attributes please? { "orginatingCountry": "string", "originalAmount": "string", "originalCurrency": "string", "payerIdentificationType": "PersonIdentificationType1Code", "payerIdentificationNumber": "string", "payerIdentity": "string", "payerLanguageCode": "string", "payerMsisdn": "string (Msisdn)", "payerGender": "string"} Thank you for your help. @crankluga @allan.ddamulira @anicet @Maxie @Lubunde Job
Hi Guys, The create access token API (Post) is giving me a 500 internal server error. The specific response is below. "error": "login_failed"What could be the problem. Thanks Emma
https://widget.northeurope.cloudapp.azure.com:9443/demo.html
What endpoints can I use with the token oauth2.0 generated by the customer consent?I wanted to perform some actions on behalf the customer as mentioned in the docs but I didn’t find the corresponding endpoints. Are they under development? or are they available on live env? options like:Transfer with customer consent. Merchant payment with customer consent. Bank transfer with customer consent.
Hello MTN great community,I want to see if my mtn transactions are really working, does mtn offer a platform were we can log into virtual mtn account and see if the money has been transferred successfully ? or is there any methods to get this information.Thank you.
When is oauth2 Token used?
Can the sandbox API be tested on a application? When I send a call to the requesttopay endpoint I get a server error. Secondly collection widget display but doesn’t work and when I tried to create Oauth 2.0 token I get Authorized as status code and error of “invalid client”. I also want to know how I can place the API user key and API key on the authorization field after encoding to base64.
Hello,It’s. my first time to use the momo api. I am trying to create a user in sandbox using firebase authentication trigger function. I subscribed for collections widget and am passing its primary key as the Ocp-Apim-Subscription-Key.the user is being created successfully when i run in the sandbox but returns access denied when i execute the code.import * as admin from "firebase-admin";import * as functions from "firebase-functions";import { v4 as uuid4 } from "uuid";export const createUser = functions.auth.user().onCreate(async (user) => { const uid: string = user?.uid; const myUUID = uuid4(); const key = functions.config().primarycollection.key; console.log(myUUID); try { await admin.firestore().collection('users').doc().set({ userId: uid, myUUID, createdAt: user.metadata.creationTime, }); const provideUser = await fetch("https://sandbox.momodeveloper.mtn.com/v1_0/apiuser", { method: "POST",
this was a duplicate and i haven’t figured out how to delete yet. sorry
I get CORS Policy error each time I try to make a request with the JavaScript fetch API to any of the sandbox endpoints but it works on the sandbox page
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.