The food-delivery giant Grubhub is having a difficult week: disappointing quarterly earnings, a declining share price, even talk of growing skepticism among investors about the broader food delivery market.

Now the company also faces an angry New York City Council.

On Wednesday, more than 30 members of the Council sent a letter to Grubhub’s chief executive, Matt Maloney, calling for him to hire a third-party company to evaluate complaints that Grubhub has charged restaurants for phone calls that never resulted in orders.

“A refund must be issued for any phone call fees that did not yield a sale,” said the letter, a copy of which was shared with The New York Times. “In the event that you do not take corrective actions, we will explore potential legislative solutions.”

Katie Norris, a spokeswoman for Grubhub, said the company is “happy to have an open, working dialogue with the New York City Council” about how to connect consumers to local restaurants, “including improving our phone order process.”