PayFanout API reference
    Preparing search index...

    Function projectPayZenRrule

    • The faithful day/week/month/year projection of a PayZen rrule, or undefined when none exists. Only FREQ + INTERVAL (+ COUNT, which bounds the number of installments without changing the cadence) project; any other part (BYDAY, BYMONTHDAY, BYSETPOS, UNTIL, …) shifts occurrences in ways the simple interval vocabulary cannot express, so the record then carries only schedule.

      Parameters

      • rrule: string

      Returns
          | { interval: "day"
          | "week"
          | "month"
          | "year"; intervalCount: number }
          | undefined