PayFanout API reference
    Preparing search index...

    Interface ChargeDueResult

    interface ChargeDueResult {
        canceled: SubscriptionRecord[];
        charged: SubscriptionRecord[];
        errors: { error: PayFanoutError; subscriptionId: string }[];
        failed: SubscriptionRecord[];
        pending: SubscriptionRecord[];
    }
    Index
    canceled: SubscriptionRecord[]

    Ended this run: dunning exhausted or cancelAtPeriodEnd reached.

    errors: { error: PayFanoutError; subscriptionId: string }[]

    Candidates abandoned by an unexpected error (typically storage). Their records keep the attempt key already used, so the next run replays the PSP's cached response instead of charging again.

    Renewals that failed this run (now past_due, retry scheduled).

    Charges resolved as "processing" — frozen until resolvePendingRenewal.