# SubscriptionStatus

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    SubscriptionStatus:
      type: object
      required:
        - paymentHash
        - status
        - serverId
        - duration
        - isProvisioned
      properties:
        paymentHash:
          type: string
        status:
          type: string
          enum:
            - unpaid
            - paid
            - expired
            - success
        serverId:
          type: string
        duration:
          type: integer
        isProvisioned:
          type: boolean
        server:
          type: object
          properties:
            domain:
              type: string
            endpoint:
              type: string
          x-apidog-orders:
            - domain
            - endpoint
          nullable: true
        subscriptionEnd:
          type: string
          format: date-time
          nullable: true
        message:
          type: string
          nullable: true
      x-apidog-orders:
        - paymentHash
        - status
        - serverId
        - duration
        - isProvisioned
        - server
        - subscriptionEnd
        - message
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://tunnelsats.com
    description: Prod Env
security: []

```