PASSING CALLBACK URL ON requesttopay RETURNS 400 BAD Request

The request below works fine but it returns 400 Bad request as soon as i add callback url in the header. I believe the callback url is the best option than my system calling your server periodilly to confirm if the payment request was successful or not. POST https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: Bearer ****** X-Reference-Id: c2f3ff93-c46a-402c-be42-94e1b64b8951 X-Target-Environment: sandbox Content-Type: application/json Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• { "amount": "100", "currency": "EUR", "externalId": "5427", "payer": { "partyIdType": "MSISDN", "partyId": "25678*******" }, "payerMessage": "Payment for Order No:5427", "payeeNote": "Payment for Order No:5427" }

Comments

  •  
    Same isuue with my code. please let me know how to fix like this issue. POST https://sandbox.momodeveloper.mtn.com/collection/v1_0/requesttopay HTTP/1.1 Host: sandbox.momodeveloper.mtn.com X-Reference-Id: c2f3ff93-c46a-402c-be42-94e1b64b8951 X-Target-Environment: sandbox Content-Type: application/json Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• { "amount": "10", "currency": "EUR", "externalId": "1234567890", "payer": { "partyIdType": "MSISDN", "partyId": "46733123453" }, "payerMessage": "testing", "payeeNote": "teesting" }
    Posted by Hidden Fri, 31 Jan 2020 17:33:01 GMT


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