Below API is being used by our apps (android and IOS) for payment.
https://testsecureacceptance.cybersource.com/silent/pay and at app side this URL gets loaded in WebView which works as expected.
We are trying to perform sandbox testing by including this API in our API automation tool.
We tried testing the same API via postman and we get 200 with HTML response. However, we get status as DECLINE with below error from cybersource.
"transaction_id" : "6595086289756494503004""message" : "AVS check failed","decision" : "DECLINE""reason_code" : "200"
Can anyone guide here on how to perform API testing without using device (android or IOS) but postman or API automation testing frameworks like supertest etc.
Screenshot response for silent pay API: