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

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • args: {
            customerId: string;
            ledgerAccountId: string;
            ledgerProgramId: string;
            name?: string;
            referenceId?: string | null;
        }

      Returns Promise<
          | {
              ok: true;
              value: {
                  accountNumber: string;
                  achDepositInstructions: AchDepositInstructions;
                  createdAt: Date;
                  deletedAt: Date
                  | null;
                  id: string;
                  name: string | null;
                  provider: "VICTOR" | "BIVO" | "ROUTE_FUSION";
                  referenceId: string | null;
                  routingNumber: string;
                  rtpDepositInstructions: RtpDepositInstructions;
                  status: "PENDING" | "ACTIVE";
                  type: "US_DEPOSIT" | "US_DDA";
                  updatedAt: Date;
                  wireDepositInstructions: UsWireDepositInstructions;
              } & { customerId: string; entityId: string; ledgerAccountId: string };
          }
          | { error: ServiceError; ok: false },
      >

    • Parameters

      • args: {
            customerId: string;
            id: string;
            name?: string | null;
            referenceId?: string | null;
        }

      Returns Promise<
          | { error: ServiceError; ok: false }
          | {
              ok: true;
              value: {
                  accountNumber: string;
                  achDepositInstructions: AchDepositInstructions;
                  createdAt: Date;
                  deletedAt: Date | null;
                  id: string;
                  name: string | null;
                  provider: "VICTOR" | "BIVO" | "ROUTE_FUSION";
                  referenceId: string | null;
                  routingNumber: string;
                  rtpDepositInstructions: RtpDepositInstructions;
                  status: "PENDING" | "ACTIVE";
                  type: "US_DEPOSIT" | "US_DDA";
                  updatedAt: Date;
                  wireDepositInstructions: UsWireDepositInstructions;
              } & { customerId: string; entityId: string; ledgerAccountId: string };
          },
      >