Bad Request when sending a post request. See my body and header

{ 'Authorization' : 'Bearer '+token, 'X-Callback-Url' : 'http://myapp.com/momoapi/callback', 'X-Reference-Id' : reference_id, 'X-Target-Environment' : 'sandbox', 'Content-Type' : 'application/json', 'Ocp-Apim-Subscription-Key': '019414ea5a5948039203bf5a1d87ce4c' } body = { "amount":"5000", "currency":"UGX", "externalId":"12345", "payer": { "partyIdType":"MSISDN", "partyId":"0780123456" }, "payerMessage":"text message", "payeeNote":"test note" }

Comments

  •  
    encountering the same problem. always get a 500 Server Error but does work on the momo console.
    Posted by Hidden Wed, 04 Sep 2019 21:39:49 GMT
  •  
    Me too , it's not giving even in sandbox console
    Posted by Hidden Wed, 11 Sep 2019 13:38:44 GMT


You're not signed in. Please sign-in to report an issue or post a comment.