News for hackers. Stuff that matters.
Re:Suica, Japan's First IC Transit Card by rwmj on Thursday August 27, 2026 @01:17PM (#49468072)
Wait, the balance is stored on the card? I'm fairly sure the balance is shown in the JR app too, so presumably that cannot be the case. [Update: or maybe not? I opened the app now and it's asking me to enable NFC and hold it up to the card.]

Anyway I love my Suica. I got it a good decade or more ago, I have a few thousand yen on there, and it's always ready for me when I go back to Japan. Useful on the Metro, trains and in shops. Easy to top up at the plentiful, dedicated top up machines. I also loaded Shinkansen tickets on it last time and travelled "ticketless".

Re:Suica, Japan's First IC Transit Card by hnfong on Thursday August 27, 2026 @04:03PM (#49470440)
The card definitely stores the balance. They probably sync the transaction records to their servers, but during the transaction the value on the card is presumed to be the truth AFAICT.

Remember when the system was designed in the early 2000s the Internet was much less available and reliable, and when so many transactions happen every day, you don't want to get thousands of passengers stuck inside a metro station only because some Wifi router was down.

This is basically a limitation of the CAP theorem, in these situations there's really no choice but to sacrifice "consistency" and settle for eventual consistency.

I think even credit card payments for transit also make that sacrifice. I had a weird experience using a Visa card to pay for a tram ride because they were promoting it and had a discount. The machine indicated success and let me through, but since I rarely used the card, somehow the payment didn't go through afterwards (the credit card was in a very weird state). If they insisted that all the payment transactions complete successfully for a transit payment, it would be too inconvenient and unreliable to use.

Re:Suica, Japan's First IC Transit Card by kalleboo on Friday August 28, 2026 @12:02AM (#49474217)
Credit card payments have an "offline" mode for the same reason - before ubiquitous broadband, a shop may have to dial-up to the bank to verify a card, which is slow. Debit cards that run on the credit networks can have that enabled or disabled depending on trust.

Remember originally credit card payments worked by putting the card under a slip of carbon-copy paper and rubbing off the raised digits. All the digital stuff ontop of that was just for efficiency.

Re:Suica, Japan's First IC Transit Card by kube-system on Friday August 28, 2026 @07:12AM (#49476978)
Some digital payment terminals don’t have full-time internet connections today, dial-up or not… think, handheld terminal in areas of poor wireless signal.

But yeah, even settling up at the end of the day with those terminals is still way faster than settling up carbon copies via mail.

Re:Suica, Japan's First IC Transit Card by abdullahkhalids on Thursday August 27, 2026 @01:51PM (#49468596)
Yes, they do store the value. There was a blogpost posted to HN last year that discusses the cryptographic features of these cards [1,2]. It's amazing that these cards are almost solving the problem of secure digital money.

[1] https://news.ycombinator.com/item?id=43993711

[2] working link since original blog is down https://web.archive.org/web/20250517082035/https://aruarian....

Re:Suica, Japan's First IC Transit Card by quinncom on Thursday August 27, 2026 @02:14PM (#49468972)
Alt link because archive.org is down now: https://archive.ph/V8H5s
Re:Suica, Japan's First IC Transit Card by santaboom on Thursday August 27, 2026 @01:19PM (#49468121)
Op mentions that server side sync occurs outside of 200ms card/reader interaction.
Re:Suica, Japan's First IC Transit Card by reaperducer on Thursday August 27, 2026 @01:18PM (#49468094)
I'm fairly sure the balance is shown in the app too

Can confirm that Suica shows the balance in Apple Wallet.

Re:Suica, Japan's First IC Transit Card by crote on Thursday August 27, 2026 @11:25PM (#49474007)
The original Dutch system used a very similar approach: the card not only stores the balance, but also a history of taps, and information about the travel products. Your travel history is available on a website, but new trips are only shown after a terminal has asynchronously uploaded your new data.

Fixed terminals (like at a train station) near-instantly upload it, movable terminals (like in a bus) have a bit of a delay and sometimes only upload when the bus arrives back at the depot. It is possible to add new travel products or balance from an app / website, but you have to visit a special "pick-up terminal" to update the card.