const options = {method: 'GET'};
fetch('https://api.valox.co/api/v1/terms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"terms": [
{
"type": "general-tos",
"currentVersion": "TOS_GENERAL_VERSION_1",
"url": "https://help.valox.co/hc/en-us/articles/43350967419412-ValoX-Pay-Terms-of-Service",
"name": "ValoX Terms of Service"
},
{
"type": "card-monavate-tos",
"currentVersion": "TOS_CARD_VERSION_1",
"url": "https://help.valox.co/hc/en-us/categories/41384871493524-Legal-Terms-and-Policies",
"name": "Monavate Cardholder Terms"
},
{
"type": "privacy-policy",
"currentVersion": "PRIVACY_POLICY_VERSION_1",
"url": "https://help.valox.co/hc/en-us/articles/39723694982548-ValoX-Privacy-and-Cookies-Policy",
"name": "Privacy and Cookies Policy"
}
]
}This endpoint provides public access to terms information including type, current version, URL, and name.
const options = {method: 'GET'};
fetch('https://api.valox.co/api/v1/terms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"terms": [
{
"type": "general-tos",
"currentVersion": "TOS_GENERAL_VERSION_1",
"url": "https://help.valox.co/hc/en-us/articles/43350967419412-ValoX-Pay-Terms-of-Service",
"name": "ValoX Terms of Service"
},
{
"type": "card-monavate-tos",
"currentVersion": "TOS_CARD_VERSION_1",
"url": "https://help.valox.co/hc/en-us/categories/41384871493524-Legal-Terms-and-Policies",
"name": "Monavate Cardholder Terms"
},
{
"type": "privacy-policy",
"currentVersion": "PRIVACY_POLICY_VERSION_1",
"url": "https://help.valox.co/hc/en-us/articles/39723694982548-ValoX-Privacy-and-Cookies-Policy",
"name": "Privacy and Cookies Policy"
}
]
}Successfully retrieved terms