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

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • args: Pick<
            SwiftWireWithdrawalQuote,
            "entityId"
            | "deviceIpAddress"
            | "deviceLocation"
            | "purpose",
        > & (
            { customerId: string; targetWirePaymentInstrument: string; sourceAccountId: string; targetCurrency: "USD" | "MXN" | "AUD" | "HKD" | "JPY" | "NZD" | "SGD" | "SEK" | "CHF" | "CAD" | "GBP" | "CZK" | "DKK" | "EUR"; senderMessage?: string | undefined; beneficiaryReference?: string | undefined; } & ({ sourceAmount: BigNumber; } | { targetAmount: BigNumber; })
        )

      Returns Promise<
          | { ok: true; value: SwiftWireWithdrawalQuote }
          | {
              error:
                  | ServiceError<"ENTITY_NOT_FOUND" | "NO_COUNTRY">
                  | ServiceError<"PRODUCT_INACTIVE" | "PRODUCT_BLOCKED">
                  | ServiceError<"LIMIT_EXCEEDED", ProductLimitViolation>
                  | ServiceError<"UNSUPPORTED_CURRENCY">
                  | ServiceError<
                      "INSUFFICIENT_FUNDS",
                      { balance: { amount: BigNumber; currency: string } },
                  >;
              ok: false;
          },
      >