Skip to main content
POST
/
auth
/
refresh
Refresh Access Token
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({refreshToken: '<string>'})
};

fetch('https://gp-auth-module.prod.gnosispay.com/auth/refresh', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "accessToken": "<string>",
  "refreshToken": "<string>"
}

Body

application/json
refreshToken
string
required
Minimum string length: 1

Response

New access token and rotated refresh token issued

accessToken
string
required
refreshToken
string
required