PayFanout API reference
    Preparing search index...

    Interface PaymentServiceOptions

    interface PaymentServiceOptions {
        adapters: ServerPaymentAdapter[];
        now?: () => number;
        telemetry?: PaymentTelemetryHook;
    }
    Index
    now?: () => number

    Injected clock for telemetry duration tests.

    Observability seam: called after every adapter operation, success or failure. MUST be cheap and MUST NOT throw — a throwing hook is swallowed (the payment path always wins over telemetry).