Start a hosted Stripe Checkout Session for a plan (public redirect)
GET
/v1/portal/buy/{planId}
const url = 'https://api.extport.dev/api/v1/portal/buy/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.extport.dev/api/v1/portal/buy/examplePublic checkout entrypoint for static storefronts (no tenant API key needed). Creates a Stripe Checkout Session for the plan using the connected Stripe account and redirects (303) to Stripe Checkout.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”planId
required
string
Responses
Section titled “Responses”Redirect to Stripe Checkout
Licensing disabled, plan disabled, missing Stripe price, or Stripe account not connected
Plan not found
Stripe API unavailable