billing

Create a Stripe billing portal session

Public — the magic token (from the emailed account link, see /v1/auth/magic-link) is the credential, not a Bearer key. Requires the Stripe Customer Portal to be configured in the Stripe Dashboard.

post/v1/billing/portal

Request

  • Base URL: https://modelglass-api.vercel.app
  • URL: https://modelglass-api.vercel.app/v1/billing/portal
  • Auth: none required

Request body

tokenstring required

Response

Billing portal session URL.

oktrue required

Changes

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