Skip to content

Validity

Properties

  • Name
    minimumPeriods
    Type
    integer
    Description

    The minimum number of subscription periods that the plan must be renewed.

    Example: 12
    >= 0
  • Name
    type
    Type
    string
    Description

    The validity type of this plan.

    Allowed values: recurring oneTime 
  • Name
    unit
    Type
    string
    Description

    The time unit of the subscription period.

    Allowed values: day month 
  • Name
    value
    Type
    integer
    Description

    The amount of units (specified in the unit property) in each subscription period. The total validity duration (value times unit) must not exceed 10 years.

    Example: 7
    >= 1

Validity object

{
  "minimumPeriods": 12,
  "type": "recurring",
  "unit": "day",
  "value": 7
}