@cfxlabsinc/b2b-services
    Preparing search index...

    FIB First Independence Bank's business online banking, read as the web app reads it. There is no published API: the wire protocol is in docs/proposals/FIB_ONLINE_BANKING_FEED.md § 2.

    Index
    instance: (...args: []) => FibOnlineBankingClient = ...

    The process client: the fib namespace at each login, codes from the step-up email.

    • Log in as the browser does. POST /auth opens a session and redirects to a page carrying the CSRF token; then createsession.json logs it in. deviceToken is a monitIDToken from an earlier login, sent so FIB may skip the step-up; the session's cookies carry whichever one FIB kept.

      Parameters

      • args: { deviceToken?: string } = {}

      Returns Promise<{ error: FibLoginError; ok: false } | { ok: true; value: FibSession }>