> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plugtopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List subscription plans

> Returns a paginated list of subscription plans for the authenticated company.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/subscriptions/plans
openapi: 3.0.0
info:
  title: PlugToPay API
  description: API to make payments easy in multiple gateways.
  version: 1.0.0
servers:
  - url: http://localhost:7701
    description: Test Server
security: []
paths:
  /api/v1/subscriptions/plans:
    get:
      tags:
        - Subscription Plans
      summary: List subscription plans
      description: >-
        Returns a paginated list of subscription plans for the authenticated
        company.
      operationId: 8feaa33cd407f426adb757e8b6a49bfa
      parameters:
        - $ref: '#/components/parameters/XClientId'
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            example: 15
        - name: page
          in: query
          required: false
          schema:
            type: integer
            example: 1
      responses:
        '200':
          description: Paginated list of plans
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SubscriptionPlan'
                  meta:
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      per_page:
                        type: integer
                        example: 15
                      total:
                        type: integer
                        example: 5
                      last_page:
                        type: integer
                        example: 1
                    type: object
                type: object
        '401':
          description: Unauthorized — Invalid API Key
      security:
        - ApiKeyAuth: []
components:
  parameters:
    XClientId:
      name: x-client-id
      in: header
      description: Client identifier for the company in the request.
      required: true
      schema:
        type: string
        example: client_abc123
  schemas:
    SubscriptionPlan:
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          example: Basic Monthly
        description:
          type: string
          nullable: true
        amount:
          description: Plan price in cents
          type: integer
          example: 2990
        currency:
          type: string
          example: BRL
        interval:
          type: string
          enum:
            - weekly
            - monthly
            - yearly
          example: monthly
        interval_count:
          type: integer
          example: 1
          nullable: true
        trial_period_days:
          type: integer
          example: 7
          nullable: true
        billing_day:
          description: Day of the month to charge (1–28)
          type: integer
          example: 5
          nullable: true
        min_card_months:
          description: >-
            Minimum months the card must be valid at subscription creation; null
            = no restriction
          type: integer
          example: 3
          nullable: true
        is_active:
          type: boolean
          example: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      description: Company API key. Send in the X-API-Key header.
      name: X-API-Key
      in: header

````