To renew the Access Token when it gets expired

Could you please guide us how to renew the squareup access token after it gets expired after 30 days?

The API endpoint that will help us in renewing the expired access token.

Thanks

When you first call ObtainToken you should receive a refresh_token as well as an access_token. Going forward, you would use this refresh_token as well as grant_type = "refresh_token" to renew the token. If you did not save the refresh token, you’ll need to go through the OAuth authorization link again unfortunately.