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

    Hierarchy

    • AchDebitWithdrawalQuoteQueryService
      • AchDebitWithdrawalQuoteService
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • args: Pick<
            AchDebitWithdrawalQuote,
            "deviceIpAddress"
            | "deviceLocation"
            | "entityId"
            | "achId",
        > & (
            { customerId: string; targetAchPaymentInstrument: string; sourceAccountId: string; } & ({ sourceAmount: BigNumber; } | { targetAmount: BigNumber; })
        )

      Returns Promise<
          | { ok: true; value: AchDebitWithdrawalQuote }
          | {
              error:
                  | ServiceError<"LIMIT_EXCEEDED", ProductLimitViolation>
                  | ServiceError<
                      "PRODUCT_BLOCKED"
                      | "PRODUCT_INACTIVE"
                      | "NO_ELIGIBLE_ROUTE",
                  >
                  | ServiceError<"ENTITY_NOT_FOUND" | "ENTITY_CANNOT_TRANSACT">
                  | ServiceError<QuoteInvariantViolation>;
              ok: false;
          },
      >