A Repeat Cancel represents when a Schedule should stop, which ends associated scheduled transactions. If a Transaction should repeat indefinitely, do not include a Repeat Cancel in the Schedule.

Properties

PropertyTypeDescriptionExample
typeString"date", "count""count"
valueStringEither a date to cancel on or a number of times that the Schedule should repeat before cancelling.12

Examples

Cancel on Count

{
  "type": "count",
  "value": 12
}

Cancel on Date

{
  "type": "date",
  "value": "2025-01-01 00:00:00"
}