getPlans

suspend fun getPlans(forPayer: ForPayerType = ForPayerType.USER, orgId: String? = null, minSeats: Int? = null, limit: Int = DEFAULT_BILLING_LIMIT, offset: Int = 0): ClerkResult<ClerkPaginatedResponse<BillingPlan>, ClerkErrorResponse>

Lists your publicly visible Plans.

Parameters

forPayer

Whether to list user Plans or Organization Plans.

orgId

The Organization to fetch Plans for. Populates each Plan's available prices for that Organization.

minSeats

The minimum number of seats the returned Plans need to support.

limit

The maximum number of Plans to return.

offset

The number of Plans to skip.