Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As others pointed out this is a rather standard flow handled by the account updater service[s]. What I would add is most of the time the merchant doesn't store your payment instrument data other than last 4 digits and an expiration date just so the card in your "digital wallet" can be identified in the UI - "Your Visa ending in ...1234" type deal.

Instead, they store a token provided to them by the payment processor which represents the card. That token stays the same even if your account info gets updated. So the only thing the merchant updates is the "metadata" of the payment instrument for end user's convenience. The actual heavy lifting associated with the update is handled on the payment processor side.

That said - from what I understand Amazon is a bit of an exception here and they actually store the full blown card info (other than CVV which is "illegal" to store) so they have to deal with the implications of account updates themselves.



You nailed it.

I work for a payment gateway and I've written several Account Updater integrations.


If you read the article carefully, there is no indication that Amazon actually gave her (or even had) the full credit card number.

"it turned out the last four digits and the expiry date matched the card on my Amazon account."

I checked, and Amazon does indeed only show you the last 4 digits and expiry date.


>> If you read the article carefully, there is no indication that Amazon actually gave her (or even had) the full credit card number.

And if you read my post carefully I'm not saying that they did :)




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: