Interface TransactionService


@FeignClient(name="transaction-service", configuration=FeignClientConfiguration.class) public interface TransactionService
  • Method Details

    • getTransactionsFromAccountId

      @GetMapping("/transactions") List<TransactionResponse> getTransactionsFromAccountId(@RequestParam String accountId)
      Retrieves a list of transactions from the specified account ID.
      Parameters:
      accountId - the ID of the account
      Returns:
      a list of transaction responses