what happens if I put in $5 and my car only uses $3 of electricity?
Automated change has been a thing for ages, see: vending machines, public phones.
Or if someone pulls out the charge cable after my car's only taken $1 of electricity?
Mind your property.