Billing

Create Checkout Session

Create a Stripe checkout session for a new subscription.

post/api/1.0/billing/{team_id}/checkout

Request

  • Base URL: https://api.shakebugs.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.shakebugs.com/api/1.0/billing/{team_id}/checkout
  • Auth: HTTP bearer

Path parameters

team_idstring uuid required

Request body

plansstring[] required
codestring nullable

Response

Successful Response

idstring uuid required
createdstring date-time required
customer_idstring uuid required
stripe_checkout_session_idstring required
stripe_checkout_session_urlstring required
status'pending' | 'complete' | 'expired' required

Changes

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