Funds are stored on the card and loaded from a kiosk.
I think Sweden had one called Kash or something like that.
I found it awesome to use with at-home recharging (with an appropriate card terminal) and use on trains. Often, the ticket machine would refuse coins or not have change. Electronic payment to the rescue! :)
Unfortunately, its fate is already sealed with basically all banks having announced their withdrawal from the system.