Billing

Open a Stripe Checkout Session for the Builder or Team plan

Creates (or reuses) the workspace's Stripe customer and returns the URL of a hosted Checkout page. Builder prices include VAT, Team prices exclude it; Stripe Tax computes the amount and collects the buyer's VAT number for the EU B2B reverse charge. Returns 409 when the workspace already has a subscription: plan changes go through the portal.

post/api/v1/billing/checkout

Request

  • Base URL: https://api.hub-equity.com
  • URL: https://api.hub-equity.com/api/v1/billing/checkout
  • Auth: HTTP bearer

Request body

plan'builder' | 'team' | 'pro'

Plan to subscribe to: builder or team. pro is accepted as the former name of team. Defaults to Builder.

interval'monthly' | 'annual'

Billing interval for the chosen plan.

return_pathstring

Same-site path the customer returns to. Only absolute same-site paths are honoured; anything else falls back to the default.

Response

Successful Response

successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.