I read this novel in the late 70's where the protagonist is fleeing from the authorities and goes into a completely automated store. He needs to use an id card like an ATM card to make his purchases. Each person had "credits" they could spend based on their ranking in society. For some reason I can't remember, the protagonist's rating gets erased and he has no ranking. So he ends up on the run from the central authorities and connects with a woman who is trying to overthrow the status quo.
I can't remember the name of the book or author. This book stands out to me because it was the first time I remember coming across the concept of the cashless society.
This is not Bellamy's "Looking Backward"