billing

Start paying for a plan

Refused with 409 already_subscribed while a subscription is live: a second checkout would start a second subscription, and the first would go on billing. Change plan instead.

post/workspaces/{id}/checkout

Request

  • Base URL: https://api.swingfactor.ai/v1
  • URL: https://api.swingfactor.ai/v1/workspaces/{id}/checkout
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The workspace's id (a UUID).

Request body

plan'investigator' | 'institute' required
cycle'monthly' | 'annual' required
quantityinteger

Response

Where to send the browser.

urlstring uri required

Changes

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