Skip to main content
POST
/
user
/
terms
Accept Terms
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({terms: [{type: '<string>', version: '<string>'}]})
};

fetch('https://gp-auth-module.prod.gnosispay.com/user/terms', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "ok": true
}

Body

application/json
terms
object[]
required
Minimum array length: 1

Response

Terms accepted successfully

ok
enum<boolean>
required
Available options:
true