PayFanout API reference
    Preparing search index...

    Type Alias VerifyCredentialsResult

    VerifyCredentialsResult:
        | { ok: true }
        | { category: "auth" | "network" | "internal"; message: string; ok: false }

    Outcome of ServerPaymentAdapter.verifyCredentials — a side-effect-free probe that the configured credentials authenticate against the PSP. category lets a host's "Test connection" UI distinguish a wrong key (auth) from a transient outage (network) or an unexpected adapter/PSP fault (internal).