Malformed response from /requesttopay/{referenceId} - NEGATIVE TEST CASE

Request URL - https://ericssonbasicapi2.azure-api.net/colection/v1_0/requesttopay/{referenceId} The service is returning a malformed response from what is in the schema for all negative test case Should we consider this a desirable bug and move on or you have plans for updating. Current Response for TEST CASE REJECTED { "externalId":"11250230098", "amount":"2000", "currency":"EUR", "payer": { "partyIdType":"MSISDN", "partyId":"46733123451" }, "payerMessage":"UBD356D", "payeeNote":"UBD356D", "status":"FAILED", "reason":"APPROVAL_REJECTED" } Current response for TEST CASE FAILED { "externalId":"11250230101", "amount":"500", "currency":"EUR", "payer": { "partyIdType":"MSISDN", "partyId":"46733123450" }, "payerMessage":"TEST REMARKS", "payeeNote":"TEST REMARKS", "status":"FAILED", "reason":"INTERNAL_PROCESSING_ERROR" } Expected response in the schema: { "amount": 100, "currency": "UGX", "externalId": 947354, "payer": { "partyIdType": "MSISDN", "partyId": 4656473839 }, "status": "FAILED", "reason": { "code": "PAYER_NOT_FOUND", "message": "Payee does not exist" } }

Comments

  •  
    You can use the alowed MSISDN eg 46733123453
    Posted by Hidden Mon, 10 Dec 2018 08:01:32 GMT


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