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

    Constructors

    Methods

    Constructors

    Methods

    • Look up SWIFT/BIC bank info, cached. Returns null when the code is unknown (cached as a negative result). Non-functional errors (network, the upstream API rejecting the code) propagate as thrown errors.

      Parameters

      • __namedParameters: { bic: string }

      Returns Promise<
          {
              ok: true;
              value: | {
                  address?: string;
                  bank?: { code?: string; country_id?: string; id?: string; name?: string };
                  branch_code?: string;
                  branch_name?: string;
                  city?: { country_id?: string; id?: string; name?: string };
                  country?: { id?: string; name?: string };
                  id?: string;
                  postcode?: string;
              }
              | null;
          },
      >