const url = 'https://api.sureshake.com/v2/vault/access/check';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
collectionId: '0ffe69e2-b7af-4b1e-835c-867376165f50',
walletAddress: 'string',
documentId: '4704590c-004e-410d-adf7-acb7ca0a7052'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));