Organizations

Buy a lifetime plan

Changed on

Open 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 URL
    https://app.easyscraper.com
  • URL
    https://app.easyscraper.com/api/v1/organizations/{organizationId}/billing/purchase
  • Auth
    API key in cookie better-auth.session_token

Path parameters

organizationIdstring uuid required

Request body

planIdstring required
returnUrlstring uri required

Response

OK

urlstring uri required

Changes