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

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • __namedParameters: {
            legacyCustomerId: number;
            params: {
                amount: number;
                currency:
                    | "USD"
                    | "AUD"
                    | "HKD"
                    | "JPY"
                    | "MXN"
                    | "NZD"
                    | "SGD"
                    | "SEK"
                    | "CHF"
                    | "CAD"
                    | "GBP"
                    | "CZK"
                    | "DKK"
                    | "EUR";
                entityId: string;
                quoteType: "amountIn"
                | "amountOut";
            };
            targetCurrency?: "MOVEUSD"
            | "USDC";
            usState?: string;
        } & (
            | { cashDepositRetailerId: string; productName: "deposit.us_cash.v1" }
            | {
                productName:
                    | "deposit.rtp.v1"
                    | "deposit.us_bank_ach.v1"
                    | "deposit.ach_credit.v1"
                    | "deposit.us_wire.v1"
                    | "deposit.swift_wire.v1";
            }
        )

      Returns Promise<
          Promise<
              {
                  aggregateQuote?: {
                      amountIn: {
                          amount: number;
                          currency: | "USD"
                          | "AUD"
                          | "HKD"
                          | "JPY"
                          | "MXN"
                          | "NZD"
                          | "SGD"
                          | "SEK"
                          | "CHF"
                          | "CAD"
                          | "GBP"
                          | "CZK"
                          | "DKK"
                          | "EUR";
                      };
                      amountOut: { amount: number; currency: "MOVEUSD"
                      | "USDC" };
                      fees: {
                          fee: { amount: number; currency: "MOVEUSD" | "USDC" };
                          type:
                              | "CFX_FIXED_FEE"
                              | "CFX_VARIABLE_FEE"
                              | "PROVIDER_FIXED_FEE"
                              | "PROVIDER_VARIABLE_FEE"
                              | "CUSTOMER_FIXED_FEE"
                              | "CUSTOMER_VARIABLE_FEE";
                      }[];
                  };
                  quote: {
                      amountIn: {
                          amount: number;
                          currency: | "USD"
                          | "AUD"
                          | "HKD"
                          | "JPY"
                          | "MXN"
                          | "NZD"
                          | "SGD"
                          | "SEK"
                          | "CHF"
                          | "CAD"
                          | "GBP"
                          | "CZK"
                          | "DKK"
                          | "EUR";
                      };
                      amountOut: { amount: number; currency: "MOVEUSD"
                      | "USDC" };
                      fees: {
                          fee: { amount: number; currency: "MOVEUSD" | "USDC" };
                          type:
                              | "CFX_FIXED_FEE"
                              | "CFX_VARIABLE_FEE"
                              | "PROVIDER_FIXED_FEE"
                              | "PROVIDER_VARIABLE_FEE"
                              | "CUSTOMER_FIXED_FEE"
                              | "CUSTOMER_VARIABLE_FEE";
                      }[];
                  };
              },
          >,
      >