# PluginSubscriptionPlan_1

Type: object

Schema: [PluginSubscriptionPlan_1](https://sourcey-gauzy.pages.dev/api-reference/models/pluginsubscriptionplan-1/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  Whether the plan is active and available for purchase
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `name` (required)
  Type: string
  
  Plan name

- `description` (optional)
  Type: string
  
  Plan description

- `type` (required)
  Type: string
  
  Subscription type/plan level
  
  enum: ["free","trial","basic","premium","enterprise","custom"]

- `price` (required)
  Type: number
  
  Plan price

- `currency` (required)
  Type: string
  
  Currency code (e.g., USD, EUR)

- `billingPeriod` (required)
  Type: string
  
  Billing period
  
  enum: ["daily","weekly","monthly","quarterly","yearly","one-time"]

- `features` (required)
  Type: array
  
  Plan features list
  
  Items:
    Type: string

- `limitations` (optional)
  Type: object
  
  Plan limitations and quotas

- `isPopular` (optional)
  Type: boolean
  
  Whether this plan is marked as popular

- `isRecommended` (optional)
  Type: boolean
  
  Whether this plan is recommended

- `trialDays` (optional)
  Type: number
  
  Trial period duration in days

- `setupFee` (optional)
  Type: number
  
  Setup fee for the plan

- `discountPercentage` (optional)
  Type: number
  
  Discount percentage for the plan

- `metadata` (optional)
  Type: string
  
  Plan metadata (JSON string)

- `sortOrder` (optional)
  Type: number
  
  Sort order for displaying plans

- `pluginId` (required)
  Type: string
  
  Plugin ID

- `createdById` (optional)
  Type: string
  
  User who created this plan

- `subscriptions` (optional)
  Type: array
  
  Subscriptions using this plan
  
  Items:
    Type: string