Hacker News new | past | comments | ask | show | jobs | submit login

It is theoretically possible to refill it with the phone. You either have a stored value card where the value is stored on the card and have the phone's NFC talk to it, or you store the value in a server that has an API to add value and have the reader at the subway deduct the value from the server.



That’s exactly how online top-ups, and credits/refunds, work with the Oyster card system.

In the old days you’d nominate a specific station, and the credit would be transferred to the card the next time you tapped in at that station.

But now days I don’t think you need to do that: presumably it maintains the balance primarily on the server side now rather than on card.


I think Oyster cards are still stored-value based, but I suspect that either the backend servers and connections are now fast enough to poll pending top-ups in real time, or they just fan out the pending top up dataset to all turnstiles.

I remember using that feature in the SF bay area, and while it took a day for the top-up to actually propagate to all readers, it even worked on buses, so they must be uploading that data everywhere.

That type of connection needs to be there in any system that supports lost/stolen card value recovery, in any case, since that's how card block lists are distributed.


The Oyster card balance is certainly maintained online in real-time (or near to real-time) since you can view it in the Oyster card app/website.

But yes, for speed/redundancy they are still probably using the stored value balance too.


It's most likely near real time.

TfL likely need that mechanism primarily to synchronize the list of blocked open-loop bank cards with unpaid balances to all readers. Faster Oyster transaction list updates and any-station remote top-ups are probably just a side effect of that.

Clipper doesn't (yet) support open-loop bank cards yet, so for them, it's probably enough to update more remote readers every time the bus goes back to the depot, for example.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: