Create Subscription Schedule Object

"schedule": {
  "interval": 1,
  "interval_unit": "month",
  "max_interval": 12,
  "start_time": "2019-05-29 09:11:01 +0700"
}
JSON AttributeDescriptionTypeRequired
intervalSubscription's interval given by merchant.IntegerRequired
interval_unitInterval temporal unit.
Note: Supports day, week, and month.
StringRequired
max_intervalMaximum interval of subscription. Subscription will end after maximum interval is reached.IntegerOptional
start_timeTimestamp of subscription in yyyy-MM-dd HH:mm:ss Z. The value must be after the current time. If specified, first payment will happen on start_time. If start_time is not specified, the default value for start_time will be the date after the first interval after current time.StringOptional