JavaScript
const options = {method: 'GET'}; 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));
{ "terms": [ { "type": "<string>", "currentVersion": "<string>", "name": "<string>", "url": "<string>", "accepted": true, "acceptedVersion": "<string>", "acceptedAt": "2023-11-07T05:31:56Z" } ] }
Get the authenticated user’s terms acceptance status
User terms status retrieved successfully
Show child attributes