PayFanout API reference
    Preparing search index...

    Interface RenewalAttempt

    Where the renewal charges of one period stand. Renewal keys are payfanout-sub-<id>-<periodEnd>-a<attempt>, and no attempt number serves two different requests: a definitive failure (a decline) moves on to the next number, and a charge without a definitive answer is replayed under its own key (see RenewalReplay).

    interface RenewalAttempt {
        attempt: number;
        periodEnd: string;
        replay?: RenewalReplay;
    }
    Index
    attempt: number

    Attempt number the next charge for this period uses.

    periodEnd: string

    The period end being renewed (the record's currentPeriodEnd at charge time).

    replay?: RenewalReplay

    Set while the charge under attempt awaits a definitive answer.