billing

Open a Stripe Checkout session to start paying for a plan

Owner only. Returns a short-lived hosted URL; the subscription is written by the webhook, never here.

post/v1/orgs/{org_id}/billing/checkout

Request

  • Base URL: https://api.wavehouse.cloud
  • URL: https://api.wavehouse.cloud/v1/orgs/{org_id}/billing/checkout
  • Auth: one of:
    • API key in cookie whc_session
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

org_idstring required

Request body

plan_idstring

checkout only: the plan to subscribe to; the org's current plan when omitted

Response

Created

urlstring required

Changes

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