PayFanout API reference
    Preparing search index...

    Class PaymentRouter

    Index
    • Read-only breaker snapshot for dashboards/health endpoints, keyed by pspName. Only PSPs with recorded consecutive failures appear. open means "currently skipped"; openUntil (present once the circuit has opened) is when the current cooldown ends — in the past, the circuit is half-open and the next request probes the PSP.

      Returns Record<
          string,
          { consecutiveFailures: number; open: boolean; openUntil?: string },
      >