Share your queries, seek advice, and learn from the collective wisdom of an engaged and informed MoMo Community
Recently active
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
Hello Team, Hope you are doing well. I read through the MTN MoMo Open API sandbox documention but I can’t find the cancel preapproval endpoint. I can create and check the status of the preapprovals. Your help will be appreciated.Thank you
I downloaded the postman collection of APIs. However, in the variables, the consent request id is already defined. I was wondering how it is generated in the testing sandbox. I want to use it when creating an Oauth2 token which I later use in other endpoints that require it.
The documentation on the developer portal has many APIs I would like to know which are the key APIs when I want to receive payments
What are the different products in MoMo Open API
How do i generate API User and Key in Production ?
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.