Skip to main content
Question

MTN MoMo Disbursement API returns 401 "Access denied due to invalid subscription key" in live environment

  • April 10, 2025
  • 4 replies
  • 92 views

I'm trying to integrate the MTN MoMo Disbursement API in my Laravel app to generate an access token. However, when switching to the live environment, I receive the following error:

"statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."

4 replies

  • New Member
  • 2 replies
  • April 22, 2025

hi.

 


  • Community Manager
  • 39 replies
  • April 25, 2025

Hello, 

When you go live, you will be given production subscriptions keys. I suspect you are using sandbox subscription key on production endpoints. Also note that a subscription key for collections does not work for disbursements and vice versa.


  • New Member
  • 2 replies
  • October 6, 2025

Hello, 

When you go live, you will be given production subscriptions keys. I suspect you are using sandbox subscription key on production endpoints. Also note that a subscription key for collections does not work for disbursements and vice versa.

These has happened to me even on an already working project. The mtn platform is very unstable


  • New Member
  • 1 reply
  • October 17, 2025

this is whats happening on sanbox to i have tried all since morning 

{

"statusCode": 401,

"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."

}