const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({workspaceId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.memcontext.in/api/subscription/portal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));