It would appear you're not the only one. Here is an ATM next to a parking ticket machine at my workplace and the added sign asking users not to put tickets in the ATM suggests others have made a similar mistake to yourself
https://i.imgur.com/XCz30sh.jpg
https://i.imgur.com/FsdIRWQ.jpg