Skip to main content
Question

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

  • Apr 10, 2025 7:22 AM UTC
  • 4 replies
  • 224 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
  • Apr 22, 2025 6:04 PM UTC

hi.

 


  • Community Manager
  • Apr 25, 2025 4:25 AM UTC

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.


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
  • Oct 17, 2025 1:46 PM UTC

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."

}