Some, maybe most, places don’t have to accept it.
A sh*thole town next to me has a sign on the door saying they won’t accept any coins when paying a parking or speeding ticket. Best you could do would pay in $1 bills, the ratty-ist you can find.