Organizations
Open the billing portal
Changed onOpen the Stripe billing portal of the organization (payment methods, billing details and invoices), and return its URL, which comes back to returnUrl (a page of the web app). Only for organizations with a Stripe customer (hasCustomer in getBilling), created when it first opens Checkout. Requires the billing: ["manage"] permission (owners and admins)
post/api/v1/organizations/{organizationId}/billing/portal
Request
- Base URLhttps://app.easyscraper.com
- URLhttps://app.easyscraper.com/api/v1/organizations/{organizationId}/billing/portal
- AuthAPI key in cookie better-auth.session_token
Path parameters
organizationIdstring uuid required
Request body
Response
OK
Changes
- breaking
added
subschema #1to the response bodyoneOflist for the response status
- breaking
- info
endpoint added
- info