# ReferralHistory

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    ReferralHistory:
      type: object
      description: A collection of past usage events for a referral code.
      properties:
        history:
          type: array
          items:
            type: object
            properties:
              date:
                type: string
                format: date-time
                description: The timestamp when the referral was triggered.
              duration_purchased:
                type: integer
                description: The duration (in months) purchased by the referred user.
              bonus_earned:
                type: integer
                description: >-
                  The number of bonus months earned by the referrer for this
                  specific transaction.
            required:
              - date
              - duration_purchased
              - bonus_earned
            x-apidog-orders:
              - date
              - duration_purchased
              - bonus_earned
      required:
        - history
      x-apidog-orders:
        - history
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://tunnelsats.com
    description: Prod Env
security: []

```