replace type Either[OerResponseError, BigDecimal] with self-defined ApiRequestResult