Share sandbox questions and get support from the community
Recently active
I keep getting this error in Postman even though I provide the Ocp-Apim-Subscription-Key holding my Primary Key. How do I set the Subscription Key Header to get rid of this error?500 Internal Server errorI have all four headers in place.It works fine when I use the API’s testing environment but I want to use something external to identify anything being done for me behind the scenes!I’m creating API User in sandbox!
Is there an API that allows me to verify if a number is registered for mobile money
Do momopay have peer-2-peer API?
Hey, does momopay reference support abc alphabet like 123abc amd secondly can we a momopay staging account before getting a real one?
Hi,for I client I need to integrate the MTN Momo payment api. A company/cooperative wants to pay its suppliers (farmers) to their mobile numbers. I have seen the api docs, can create tokens, check balance etc in the sandbox environment. When the user is created a callback url can be registered. According to the docs the callback is used for the transfer endpoint. I was advised by others to use the ‘deposit’ endpoint to send money to the farmers ( https://sandbox.momodeveloper.mtn.com/disbursement/v1_0/deposit). But then would need calls to https://sandbox.momodeveloper.mtn.com/disbursement/v1_0/deposit/ to check the status. I cannot find info regarding this endpoint in the documentation, not sure if this is what I need to send money from a cooperative to its farmers mobile.I prefer using a callback instead to receive the status update. Question, can the deposit endpoint work with a callback? Or if not, is there another endpoint that I should use to be able to send mobile money from the
Hello, it seems that the sandbox server is acting up again. I am receiving a 500 error with every user creation request. HTTP responseHTTP/1.1 500 Internal Server Errorcontent-length: 111content-type: application/jsonvary: Origin{ "statusCode": 500, "message": "Internal server error", "activityId": "ed08f380-6e61-4ccf-bd2b-4a651709681b"}
Hi,I'm getting internal error 500 when trying to get access token, same thing for API user creation.[2024-06-01 08:34:25] local.ERROR:Server error: `POST https://sandbox.momodeveloper.mtn.com/collection/token/` resulted in a `500 Internal ServerError` response:{ "statusCode": 500, "message": "Internal server error", "activityId": "26ad2b84-b5fb-4035-a0e7-fcf80c1e5b23" }It has the same behavior as described in the following topic::
A few days ago, creating a payUrl to get a payment QR code went very well, however, today when testing the payment function again, even though there was no error during the order creation process and when checking the transaction status, the order still exists, but my payUrl is displayed as in the picture below, why is that?
Hi Team,We are building a ride-hailing app for the country of Ivory Coast. For the same, we are trying to integrate MTN money API into our mobile app which will allow drivers to request ride money from the riders. We are trying to setup a sandbox environment to test the APIs but are unable to do so.It would be great if someone from your developer team can help us with our queries over a call or we can put together our questions in an email for your team to answer.Regards
I’m in Benin, and searching through these pages, i have no answer. Can somebody help me. I got 401 even though i submitted the right suscription key.{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."}
Failing with 206666
Hello team. I have partially completed the tests. I am filling them in a excel sheet. on the link.https://docs.google.com/spreadsheets/d/1LPYxZM26xVOYzSyUHdfiK7LAizrnB6j4JzB2iXdUqC0/edit?usp=sharing I am confused about a few though, like; • Duplicate Reference ID (requestToPay and Transfer): I am also getting 202 accepted. for this I thought it would fail.• Exceed Daily Limit(requestToPay): Confused on how I can test this. I dint see any number for this case.• Invalid AccountHolderType(active and ): this I understand they mean msisdn, but I dont see anywhere to vary it. they ate all get requests without any body• Invalid AccountHolderID(ValidateAccount and Balance): Same issue as above.
I am getting some response as string(0) ""public function requestToPay() { $url = "https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay"; $curl = curl_init($url); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); # Request headers https://mysite.com $headers = array( 'Authorization: '.$this->createAccessToken(), 'X-Callback-Url: mysite.com', 'X-Reference-Id: '.$this->getGUID(), 'X-Target-Environment: sandbox', 'Content-Type: application/json', 'Cache-Control: no-cache', 'Ocp-Apim-Subscription-Key: *******'); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); # Request body 0248888736 $request_body = '{ "amount": "5.0", "currency": "EUR", "externalId": "6353636", "payer": {
How do I access an api that uses merchant codes to push payments from clients to business?
Hello support, There are difficulties with going through the payment async flow before we are ready to go live.What I did:1. Subscribed “Collection” API group.2. Generated userId = uuid_v43. And created user via “/v1_0/apiuser” with “Ocp-Apim-Subscription-Key” header value = subscribed collections primary key with body:{"providerCallbackHost": "our-company-domain-host"} // without scheme4. Created userKey via “/v1_0/apiuser/{userId}” with the same “Ocp-Apim-Subscription-Key” header5. Created accessToken via “/collection/token/”6. Requested “/collection/v1_0/requesttopay” with headers:Ocp-Apim-Subscription-Key: profile->subscribed collections primary keyX-Reference-Id: f0b06fb7-4e7c-462b-9e29-d62b6b2f17cdX-Target-Environment: sandboxX-Callback-Url: http://our-company-domain-host/momo/payment/purchase-callbackContent-Type: application/jsonAuthorization: Bearer token from step-5and body:{ "amount": "100.00", "currency": "EUR", "externalId": "f0b06fb7-4e7c-462b-9e29-d62b6b2f17cd",
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 🙏
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.