Hii, I tried to fetch offers details using offers API and got this response
Please provide the following information for further assistance with the error.
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
Please let me know if you still need help with the error. If so, please provide the information that I requested of you below. If the error is fixed, please let me know so I can take you off my contact list.
I'm Sorry for not replying to your last comment. Actually the error was resolved yesterday. You can close this issue now.
I'm facing one more issue. My company has the production access. I was facing issue in the offers API, but that issue is resolved now. Now I'm facing issue in foreign exchange rates API.
I was using the x-pay-token method for generating the response.
var timestamp = Math.floor(Date.now() / 1000);
var resourcePath = "";
var queryParams = "apikey=XXXXXXXXXXXXXXXXX";
var sharedSecret = "XXXXXXXXXXXXXXXXXXXX";
var postBody = "";
var preHashString = timestamp + resourcePath + queryParams + postBody;
var crypto = require('crypto');
var hashString = crypto.createHmac('SHA256', sharedSecret).update(preHashString).digest('hex');
var xPayToken = 'xv2:' + timestamp + ':' + hashString;
This was the code for generating the x-pay-token.
I want to ask that, what values should I fill in the variables resourcePath and postBody.
Here is the request body :-
Please send this problem to email@example.com and include the region you are from. A representative from Production Support will reach out to you for further assistance.