public function getTransactionDetailsForUser($user_id, $count = 10, $paginated_url = null, $page = 1){
        if($paginated_url) {
            $url = $paginated_url;
        }else {
            $url = $this->authenticationService->getServerEndPoint() . Endpoints::VERSION . Endpoints::BASE_WALLET
                . Endpoints::WALLET_TRANSACTIONS_USER . ($paginated_url ? '' : '?page=' . (int) $page);
            $url = sprintf($url, $user_id, $count);
        }

        $result = $this->authenticationService->getTransport()->fetch($url);

        if($result["code"] == APIResponse::RESPONSE_SUCCESS){
            $this->maskData($result['results']['data']);
            $paginatedResult = new PaginatedResults($result['results'],array($this,'getTransactionDetailsForUser'),array($user_id,$count));
            return $paginatedResult;
        }else{
            return new PaginatedResults(array(),null,null);
        }

    }