> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1accountplans

> The comparable catalogue, with this customer's eligibility already decided. `operations` names the lifecycle actions the configured plan policy allows against their current subscriptions, so the panel offers renew, upgrade, or downgrade because the server said so rather than because React worked it out a second time.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml get /v1/account/plans
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/account/plans:
    get:
      tags:
        - account
      description: >-
        The comparable catalogue, with this customer's eligibility already
        decided. `operations` names the lifecycle actions the configured plan
        policy allows against their current subscriptions, so the panel offers
        renew, upgrade, or downgrade because the server said so rather than
        because React worked it out a second time.
      operationId: listAccountPlans
      parameters:
        - in: query
          name: locale
          schema:
            type: string
            enum:
              - ru
              - en
      responses:
        '200':
          description: Catalogue
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountPlanList'
components:
  schemas:
    AccountPlanList:
      type: object
      required:
        - items
        - currency
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/AccountPlan'
        currency:
          type: string
    AccountPlan:
      type: object
      required:
        - planId
        - planVersionId
        - code
        - kind
        - name
        - billingPeriod
        - durationSeconds
        - price
        - operations
        - eligible
      properties:
        planId:
          type: string
          format: uuid
        planVersionId:
          type: string
          format: uuid
        code:
          type: string
        kind:
          type: string
          enum:
            - trial
            - one_time
            - recurring
            - manual
        name:
          type: string
        description:
          type: string
        sortOrder:
          type: integer
        billingPeriod:
          type: string
        durationSeconds:
          type: integer
          format: int64
        gracePeriodSeconds:
          type: integer
          format: int64
        price:
          $ref: '#/components/schemas/AccountMoney'
        recurringCapable:
          type: boolean
        configurableSquads:
          type: boolean
        operations:
          type: array
          description: >-
            The lifecycle actions the configured plan policy allows for this
            customer.
          items:
            type: string
            enum:
              - purchase
              - extension
              - upgrade
              - downgrade
        eligible:
          type: boolean
        held:
          type: boolean
          description: >-
            The customer already holds an entitlement for this plan, so the
            catalogue can mark it as the one they are on.
        ineligibleReason:
          type: string
        trafficAllowanceBytes:
          type: integer
          format: int64
          nullable: true
          description: >-
            Null means unlimited. Nullable rather than zero because unlimited
            and none are different offers.
        deviceLimit:
          type: integer
          nullable: true
          description: Null means unlimited.
    AccountMoney:
      type: object
      required:
        - amountMinor
        - currency
      properties:
        amountMinor:
          type: integer
          format: int64
        currency:
          type: string

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.