Yes you can use either at any time. Since it is anonymous it won't matter.
EDIT: There may be a problem. While they are anonymous they do use different Account numbers. I guess you are confirming the same person on exit (not paying) and this could be a problem since it will be a different (unknown passenger) number. Does it use the Device Account Number as some type of identifier?