SAN FRANCISCO — An Italian company whose mobile app allows San Francisco drivers to get paid for the public parking spaces they exit has temporarily shut down the service following an order from the city attorney.

MonkeyParking said in a blog Thursday that it “temporarily disabled” its bidding service in San Francisco, a day before City Attorney Dennis Herrera’s deadline to cease operations or face a possible lawsuit.

MonkeyParking CEO Paolo Dobrowolny said in an email Friday that his company was working with lawyers and he hopes to meet with city leaders soon.

Herrera said Friday that MonkeyParking and two similar smartphone apps that exchange money for parking spaces, Sweetch and ParkModo, said that they will go on hiatus.

“I’m grateful that these parking apps have at least temporarily honored my request to halt business practices that clearly violate San Francisco’s Police Code. At the same time, we’re going to remain vigilant against those who would try to hold on-street public parking hostage for their own private profit,” he said.

Herrera sent a letter to three parking apps on June 23 threatening a lawsuit if they didn’t cease operations by July 11.

The Rome-based MonkeyParking allowed drivers who score a notoriously hard-to-get parking spot on San Francisco’s streets to sell it for $5, $10, even $20 and then hang out there until the buyer arrived to take their place.