when doing the request https://api.sandbox.stuart.com/oauth/token
we obtain a expired access token ? how to refresh it ?
“expires_in”: 2629746, => 1970
A new access token expires after 30 days, you can find more information about When should I renew my oAuth2 access token? and also our OAuth Authentication in general by following these links.
Hopefully, this answers your question, but do let us know if we can help further.
expires_in represents the 30 days lifetime of the token (express in seconds)
created_at value is the unix timestamp of the token creation time.
We will update the description to make it clearer in the documentation but you should not have any issue using this token.