User API

Get Stripe Sessions

Changed on

Get the Billing Portal session backing the Usage page's "Manage billing" button.

There's no plan-selection Checkout anymore — usage-based pricing applies to everyone with a single shared price, so this only ever returns a Billing Portal URL now.

post/me/stripe/sessions

Request

  • Base URL
    https://api.toolhouse.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.toolhouse.ai/me/stripe/sessions
  • Auth
    HTTP bearer

Request body

billing_urlstring required

Response

Successfully created Stripe Billing Portal session

billing_portal_urlstring required

Changes

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property