It was obviously an electronic check.
If it is a deposit only account (as you insinuated), something I have never heard of before BTW, then it wouldn’t have the ability to write checks against it. 8>)