There is no “issuedAt” field in the response of sessions api . It just provides expiry and refresh time in duration. Here is the response of the sessions Api :
{
“accessToken”:"",
“expiresIn”:21600,
“refreshExpiresIn”:1800,
“refreshToken”:"",
“tokenType”:“bearer”
}
The problem is that how do you guys calculate timestamp when it expires as the response should have “issuedAt” time to calculate timestamp of expiry.
@abhishek.luthra Access token for sandbox: 6 hours (21600 seconds)
X token - (comes after trxn ID) - 1800 seconds (30 mins)
Refresh - 1800 seconds (30 mins) - For sessions
Session token - 30 mins
all gateway sessions will be valid for 10 sec only
Do we have a documentation explaining in detail how refresh token needs to be used ?
@abhishek.luthra We do not have any resource for the same, You can generate X token which is expired by using refresh token.