Redirect to success page
const response = await fetch('https://beta.data.banyan.computer/api/v1/subscriptions/success/{checkout_session_id}', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();