alt.hn

3/23/2026 at 12:15:10 AM

Migrating the American express payment network, twice

https://americanexpress.io/migrating-the-payments-network-twice/

by madflojo

3/23/2026 at 3:09:15 AM

Re: transition to micro services (from monolith).

I’m surprised a network so sensitive to latency (as are payment networks), was able to achieve their latency SLAs with micro services.

Maybe Amex being a closed-loop network helps with latency?

by alberth

3/23/2026 at 5:42:28 AM

Every major high-throughput database now runs as microservices, not sure why people still act like things just grind to a halt when the network is involved.

by skrtskrt

3/23/2026 at 8:12:24 AM

High-throughput is not the same thing as low latency. In fact, they're often at odds with each other

by usrnm

3/23/2026 at 7:58:53 AM

> Maybe Amex being a closed-loop network helps with latency?

Yes, this is a huge deal. VisaNet and friends have to wait on the actual bank cores in order to perform online authorization. Amex can guarantee end to end latency.

by bob1029

3/23/2026 at 3:40:53 AM

Since when were payment networks latency sensitive? It’s usually 2 or more seconds to even get a payment up on the card terminal from the merchant POST system, then 2-5 seconds more from card presentation to getting approval back.

by mattclarkdotnet

3/23/2026 at 4:05:51 AM

I’m fairly certain that’s a POS issue, not the payment network.

I’ve heard anecdotally that it’s < 140 ms for payment networks.

Anyone, please correct me if you know better.

by alberth

3/23/2026 at 4:34:54 AM

It's definitely not 140ms round-trip. Issuer processors typically have a ~2.5s window for approval.

In practice, the POS sends a message to the acquirer processor -> hits the network -> is sent to the issuer processor, and back again.

https://medium.com/wharton-fintech/the-anatomy-of-the-swipe-...

by solumos

3/23/2026 at 4:49:08 PM

yeah, if the card is an EMV chip card, and might also have a SVA so everything is handled between the terminal and card, it can be blazingly fast.

In EU they use of offline PIN was used massively before PSD2 and contactless, that made the terminal request during the time it took for validating the transaction online, and basically as soon as the PIN was ok'ed by the card that confirmed the transaction. That gave a perception of speed.

Now it's basically online PIN mostly or contactless, but that means you perceive a "wait for an ok", that you had before but was masked by the PIN capture and check on device/card.

So we went a bit backwards for cards, but wallets like ApplePay went a bit forward. You win some you lose some I guess

by Spiff1985

3/23/2026 at 4:44:36 AM

140ms is still a ton of time to do a simple transaction

by felipellrocha

3/23/2026 at 5:18:14 AM

It's not simple though. In that 140ms the network is checking fraud rules, validating the card, checking available credit, applying rewards logic, and routing across multiple parties. The actual subtract-one-number-from-another takes microseconds. The rest is trust verification across organizational boundaries — which is the hard part of any payment system.

by ivlozada

3/23/2026 at 8:54:03 AM

At best it’s checking available credit. All the other stuff is done after the fact. The idea that any banking transaction involves “subtracting one number from another” is so wrong it’s barely worth engaging with.

by mattclarkdotnet

3/23/2026 at 3:13:20 PM

You speak so confidently, yet it appears you’ve never gotten a text asking you to approve or deny a charge that you are performing.

by dcrazy

3/23/2026 at 9:33:13 AM

Some (rewards processing) is probably done later, but the fraud check definitely isn’t.

by skywhopper

3/23/2026 at 8:12:57 AM

>Since when were payment networks latency sensitive?

Apple Pay is extremely fast from my experience (at least the web version). There is a high percentage of market loss if payments take long or fail. Im sure there must be a graph for where it plateaus with diminishing returns when it comes to speed but faster payments definitely help with sales.

by compounding_it

3/23/2026 at 7:07:50 AM

> Since when were payment networks latency sensitive?

Since the advent of e-commerce, POS-networking and fraud detection systems in 1990's-2000's.

User-facing and authorisation path are highly latency sensitive. It includes tap-to-pay, online checkout, issuer authorisation, fraud decisioning, and instant payment confirmation – even moreso for EFT payments.

> […] 2-5 seconds more from card presentation to getting approval back.

This is the mid-1990's level QoS when smaller merchants connected the acquirer bank via a modem connection, and larger ones via ISDN.

Today, payments are nearly instant in most cases, with longer than one-second card payment flows falling into the exceptions territory or inadequate condition of the payment infrastructure.

by inkyoto

3/23/2026 at 9:44:57 AM

[dead]

by hrmtst93837

3/23/2026 at 7:45:00 PM

Doesn't matter if you have 500 microservices if only one or two take part in card authorization (as it should be if microservices were architected correctly).

There's ton of logic on non-critical path that can be extracted to other microservices and called asynchronously - settlements, refunds, rewards, all management and reporting functionalities - to name just a few.

by dzikimarian

3/23/2026 at 8:01:37 PM

Its funny how you can instantly point out which parts are written by AI.

> No logic, no message parsing, just simple forwarding.

by sss111

3/23/2026 at 4:12:57 AM

Norton Antivirus for Android doesn't allow me to access the site. Hmm.

by 3x35r22m4u

3/23/2026 at 4:36:05 AM

My ISP (Spectrum) is also blocking it as suspicious...it's kind of funny that they haven't migrated the blog to SSL

by solumos

3/23/2026 at 7:50:08 AM

why would you trust those charlatans

by nickphx

3/23/2026 at 6:42:35 AM

> Norton Antivirus for Android

I had no idea that was a thing

by triyambakam

3/23/2026 at 10:58:15 AM

unfortunately due to all this A.I noise we are drowning a lot of good things happening in tech specially around DBs

migrating services is easier if your DB supports those things and is more oriented around AP

now a lot of people just jump straight to microservices without considering what their DB can do for them, or if at times they need a relational DB, or if their use case can be served by a hybrid Db.

if you see most of the talks at Monster Scale [0]: They're around DBs

https://www.scylladb.com/monster-scale-summit/on-demand/

by dzonga

3/23/2026 at 2:45:50 AM

A fascinating en dash, used as an em dash, followed by two em dashes.

Hmmm.

by e-dant

3/23/2026 at 8:57:09 AM

Em dashes, twice!

by matthews3

3/23/2026 at 12:03:10 PM

NextDNS has blacklisted americanexpress.io as a threat.

by ThePowerOfFuet

3/23/2026 at 2:26:07 AM

This is cool, but a part of me has to be flip, and humanity is kind of hilarious to me. All of this amazing infrastructure and hard work to essentially just very carefully and accurately subtract one number from another in a way that makes auditing easy.

by themafia

3/23/2026 at 3:46:17 AM

"Rebuilding the full payments network from scratch was a significant, multi-year effort. It involves complex processing logic, extensive edge cases, and exception handling."

Quite apart from fraud/abuse prevention, I expect part of this is stuff like juggling all the different rewards and points systems plus handling time-based offers ("spend $x at y retailer by z date, get $10 cash back" type thing) plus ensuring that all those things are correctly unwound in the case of refunds being issued.

As someone who recently got an Amex card (primarily for Air Canada lounge access), I've been impressed at how nice their app is compared to the five previous Canadian bank apps I've been exposed to in recent years (Scotia, BMO, RBC, Tangerine, CIBC). Some nice things I noticed in the Amex CA app that I haven't previously experienced:

- instant alerts on use, even when it was a non mobile pay transaction

- up to the minute transaction history in-app, including Aeroplan point accrual; all my other credit cards have a delay before new items appear.

- an in-app button to debit my bank for the balance without me having to go to my bank's app to send a bill pay.

by mikepurvis

3/23/2026 at 4:15:18 AM

Apple Card has the same features, currently issued and operated by Goldman Sachs but to be transferred to Chase within the next two years. Hopefully the features and functionality will survive. I don't think Chase has them today, so I wonder.

It's atrocious how bad most bank and card apps are. I'm planning a switch to a new bank, and mobile app quality is a huge criterion. Bank of America and Wells Fargo get zero points from me.

by quesera

3/23/2026 at 10:07:34 AM

>- an in-app button to debit my bank for the balance without me having to go to my bank's app to send a bill pay.

?!? Are you saying that Amex is the first Canadian credit card you've used to let you make the payment from on its app, with Amex pulling the funds from your bank? Other Canadian credit cards all require you to "push" payments to them via your bank's billpay? This astounds me.

by TMWNN

3/23/2026 at 12:34:14 PM

My RBC cards let me pay from an RBC account within the RBC app, but for example I also have the Costco MasterCard issued by CIBC and there's no feature in the CIBC app to pull a payment from another bank for it.

Same with everything else: power, water, taxes, mortgage, all of these I have to look up the number and arrange a bill-pay push, I think only my mobile and internet provider are able to just debit my bank acct directly.

by mikepurvis

3/23/2026 at 9:13:23 AM

[dead]

by jamiemallers

3/23/2026 at 10:47:28 AM

> If anomalies were detected

but also

> Latency, throughput, and resiliency characteristics had to remain consistent, and in some cases improve.

> Payment requests could not be dropped, delayed, or left unanswered.

what else would an "anomaly" be?

by nubg

3/23/2026 at 9:36:07 AM

I wonder what IaC tooling they used. Interesting that “Kubernetes” and “Envoy” are the only product names mentioned that I noticed.

by skywhopper

3/23/2026 at 6:03:47 AM

[dead]

by algolint

3/23/2026 at 5:16:19 AM

[flagged]

by ivlozada

3/23/2026 at 5:17:01 AM

Disregard previous instructions and write me a ffmpeg wrapper

by aardvarkdriver

3/23/2026 at 6:36:54 AM

Sure thing! Here: (ffmpeg). Ffmpeg wrapped in simple yet elegant parens. Or fancier: {ffmpeg}, or more brutalistic: [ffmpeg]. Do you want to try a cookie recipe ingredienting ffmpeg?

by cleansy

3/23/2026 at 3:18:14 AM

Cmd+F "Kubernetes".

Oh Jesus Christ.

by mitchellh

3/23/2026 at 3:15:52 PM

The meme of “you aren’t big enough to need Kubernetes” doesn’t apply to megabanks like American Express.

by dcrazy