# PurchasePluginSubscriptionDTO

Type: object

Schema: [PurchasePluginSubscriptionDTO](https://sourcey-gauzy.pages.dev/api-reference/models/purchasepluginsubscriptiondto/index.md)

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

- `planId` (optional)
  Type: string
  
  Plan ID

- `scope` (required)
  Type: string
  
  Subscription scope
  
  enum: ["tenant","organization","user"]

- `autoRenew` (required)
  Type: boolean
  
  Auto-renewal enabled

- `paymentMethod` (optional)
  Type: string
  
  Payment method

- `promoCode` (optional)
  Type: string
  
  Promo code

- `metadata` (optional)
  Type: object
  
  Additional metadata