Organizations

Get organization billing

Changed on

Get an organization's plan, subscription and lifetime plan purchase, and whether it has a Stripe customer. Requires the billing: ["read"] permission (owners and admins)

get/api/v1/organizations/{organizationId}/billing

Request

  • Base URL
    https://app.easyscraper.com
  • URL
    https://app.easyscraper.com/api/v1/organizations/{organizationId}/billing
  • Auth
    API key in cookie better-auth.session_token

Path parameters

organizationIdstring uuid required

Response

OK

enabledboolean required
planIdstring required
hasCustomerboolean required

Changes

    • info

      added the non-success response with the status

    • breaking

      added subschema #2 to the response body oneOf list for the response status

    • info

      added the non-success response with the status

    • info

      response property subscription/anyOf[subschema #1]/cancelAtPeriodEnd list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property // to the response with the status