@GET @Path("{id}") public PaymentDTO getPayment(@PathParam("id") Long id) { return paymentLogicService.getPayment(id); }