400 Bad Request

POST https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: QmFzaWMgY2lkLXYxOmU5OTY1MDFjLWU3MjEtNGFjMS05N2ZmLWRjNjg4N2I4NWU4Yzo1NzlmYzg0Mzg3ZDU0ZDM1ODQ3OTQxYWZmMGVkZTEzMw== X-Callback-Url: http://my.cleanpay.cm/login?test=1 X-Reference-Id: 90a30c55-6501-4c74-95d7-06156a2b914c X-Target-Environment: sanbox Content-Type: application/json Ocp-Apim-Subscription-Key: 193120af53f347c89a4b4b4240044ad3 { "amount": "25", "currency": "XAF", "externalId": "123456", "payer": { "partyIdType": "MSISDN", "partyId": "679903426" }, "payerMessage": "payerMessage", "payeeNote": "payeeNote" }

Attachments

Comments

  •  
    Voici la requête à prendre en compte : POST https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: QmFzaWMgY2lkLXYxOmU5OTY1MDFjLWU3MjEtNGFjMS05N2ZmLWRjNjg4N2I4NWU4Yzo1NzlmYzg0Mzg3ZDU0ZDM1ODQ3OTQxYWZmMGVkZTEzMw== X-Callback-Url: https://my.cleanpay.cm/login?test=1 X-Reference-Id: 90a30c55-6501-4c74-95d7-06156a2b914c X-Target-Environment: sanbox Content-Type: application/json Ocp-Apim-Subscription-Key: 193120af53f347c89a4b4b4240044ad3 { "amount": "100", "currency": "EUR", "externalId": "123456", "payer": { "partyIdType": "MSISDN", "partyId": "46733123453" }, "payerMessage": "My message", "payeeNote": "Note perso" }
    Posted by Hidden Tue, 03 Dec 2019 18:40:10 GMT
  •  
    the authorization field should be a Bearer. like this Authorization: Bearer QmFzaWMgY2lkLXYxOmU5OTY1MDFjLWU3MjEtNGFjMS05N2ZmLWRjNjg4N2I4NWU4Yzo1NzlmYzg0Mzg3ZDU0ZDM1ODQ3OTQxYWZmMGVkZTEzMw
    Posted by Hidden Thu, 05 Dec 2019 14:27:00 GMT
  •  
    Bad request too POST https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSMjU2In0.eyJjbGllbnRJZCI6ImM4MTg2ZGY5LTg0ODgtNGI2Yy04YTU1LTFkODQ3NTIwYjAyYSIsImV4cGlyZXMiOiIyMDE5LTEyLTA3VDA2OjI5OjMzLjY1OCIsInNlc3Npb25JZCI6IjVjNDQxMjVlLWY3NTAtNDQ3Ny1hOTQ1LTZkMGRkOTJjYjRjNCJ9.D0BNhERiICuxpw7NGd0Ar3YwafLAIgWPyxNHs3J8ak60Kh2v3oo0MizQs7sFF2wQe4TDO6Kwu5698GtkCaeOEaWRi2qf-CyvNS89h3XerZFc1WFMwFpdnoSVxXEdvb5PEfbCpa1NN8AAjEZn5PmTMTdvvpr3njRWPO0zYCP_43Z_xw02kfpu622i0phjGOMvnt5ajW2cTNosYQ6GMBOn0kzezlazLDpn5oJImyqi6ipPGXpfZ4Z_6S7Oop2Glaqk6BKwB7g8dUynXZxurtC5l5OYdLpAjB0qCecd6h2CD9nOihOYZ33CKFMz0ddyOf8nN1oF2q_PHRlnunKK4Wkzbg X-Callback-Url: cleandev.net X-Reference-Id: c8186df9-8488-4b6c-8a55-1d847520b02a X-Target-Environment: sandbox Content-Type: application/json Ocp-Apim-Subscription-Key: 193120af53f347c89a4b4b4240044ad3 { "amount": "100", "currency": "EUR", "externalId": "45455545", "payer": { "partyIdType": "MSISDN", "partyId": "46733123450" }, "payerMessage": "dfsdfsdf", "payeeNote": "strisdfsng" }
    Posted by Hidden Sat, 07 Dec 2019 05:35:29 GMT
  •  
    Hello I am facing the same issue. I don't know what is the problem. I have attached screenshots
    Posted by Hidden Wed, 08 Jan 2020 12:19:15 GMT


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