PayFanout API reference
    Preparing search index...

    Interface PendingRenewal

    A renewal charge that resolved as "processing" (async rails): the money outcome is unknown, so the period has NOT advanced and the cron will not charge again until resolvePendingRenewal applies the final outcome.

    interface PendingRenewal {
        attempt: number;
        periodEnd: string;
        pspPaymentId: string;
        savedPaymentMethodToken?: string;
        startedAt: string;
    }
    Index
    attempt: number

    Attempt number in the renewal idempotency key the charge used. A resume charge runs under the caller's key instead; its entry repeats the dunning count of the time.

    periodEnd: string

    The period end the charge was renewing — the next window anchors here.

    pspPaymentId: string

    The charge whose outcome is awaited.

    savedPaymentMethodToken?: string

    The card the charge used; a failure then costs nothing to a card set since.

    startedAt: string