I used to do ATM's and they keep pretty good records. They have a computer printout of what you entered and the machine would be out of balance by that amount later when they reconcile it is an error by the human or the machine happens.
But as far as just feeding cash into an ATM..I don't think I would trust it that much. I will however put it in a envelope to depoit in the ATM.
I have to say that the banks have a policy of two people must be present when they process the ATM envelopes..but truth be told sometimes it gets too busy and someone gets called away for a few minutes. Now I think other companies do the ATM's so the security should be better.
Next time don't write a check before you deposit, it's illegal. Funds must be on deposit for 24 hours before you are supposed to spend it..
Better to be late on a payment.
Snoozy
ps..I worked at US bank which used to be Mercantile and a whole bunch of other Savings and loans and banks they gobbled up. You wouldn't believe where we used to find money that the machine went haywire and spit out. We found 20's all bunched up in the rollers, on the floor inside the ATM itself, The customer was usually reimbursed on his word if the amount wasn't too large. We also had camera's to match up the transaction we could pull but that took time. We usually gave the customer a courtesy deposit until the mistake was settled.
Some people got wise that they could deposit an empty envelope and get up to three hundred back depending on their account status..if they were caught doing that twice they lost their card privledges and couldn't get another one with any bank for a year! Banks know all the tricks..and sometimes innocent customers suffer because of it.