Hello All,
I have created an application CyberSourcePaymentApi in the dashboard and got 1. Api Keys and 2. x-pay-Token . Having had them I tried to call payment search service using the following data in Postman UI for restful service calls.
// Body
{ "limit": 10, "offset": 1, "query": "accountSuffix=1111" }
Hi Bhaskar,
Looking into this for you.
-Ricardo
Bhaskar,
Can you send your client code that generated the x-pay token, once we have that this can be looked into.
Thank you,
Ricardo
Hi Ricardo,
The client java code , from what I saw last night , was working fine sending me right response but if I try to use the same request with same api key and x-pay-token was throwing the 401 error.
Is it so that tools such as SOAP UI and Postman can not be used here? I initially tried to feed the above data into Postman and SOAP UI with the right headers and body as given in the sandbox . But was getting the error
{
"responseStatus": {
"code": "9101",
"severity": "ERROR",
"message": "Token validation failed",
"info": "",
"status": 401
}
}
Regards
Bhaskar De