How do prepaid meters work?

A customer purchases electricity token and credit units to his meter by typing a given code on the meter’s customer interface unit screen. As the customer uses electricity, his/her credit balance is reduced each day until the units are exhausted prompting the customer to top it up.