Organizations
Buy a lifetime plan
Changed onOpen Stripe Checkout to pay once for a plan's lifetime price, after which the organization keeps the plan for good, and return its URL. After paying, Checkout comes back to returnUrl, a page of the web app. A subscription the organization has ends at the end of its period. Requires the billing: ["manage"] permission (owners and admins)
post/api/v1/organizations/{organizationId}/billing/purchase
Request
- Base URLhttps://app.easyscraper.com
- URLhttps://app.easyscraper.com/api/v1/organizations/{organizationId}/billing/purchase
- 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