Skip to main content
POST
/
api
/
v1
/
user
/
terms
Accept Terms and Conditions
const url = 'https://api.gnosispay.com/api/v1/user/terms';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"terms":"general-tos","version":"<string>"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
"ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
terms
enum<string>
required

Type of terms and conditions

Available options:
general-tos,
card-monavate-tos,
cashback-tos,
privacy-policy
version
string
required

Version of the terms document

Response

Terms accepted successfully

ok
boolean
I