Success

Subscription purchase success redirect

GEThttps://beta.data.banyan.computer/api/v1/subscriptions/success/{checkout_session_id}
Authorization
Path parameters
checkout_session_id*string
Response

Redirect to success page

Request
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();