All Blogs
Nov 4, 2026
Technology Trends

How Trainline Reduced Payment Failure Rates by 40% with Digital Banking Integration

Payment failures cost e-commerce platforms an estimated $20 billion annually — and travel booking sites take a disproportionate hit compared to standard online shopping. Trainline solved this not by switching payment processors, but by wiring real-time banking data directly into their authorization pipeline. The result was a 40% drop in payment failure rates, achieved at the infrastructure level before most customers ever saw a problem. Here’s exactly how they did it, and what any platform handling high-value transactions can take from it.


Payment Failure Is a Structural Problem, Not Bad Luck

Most engineering teams treat a declined payment as a terminal event. The gateway returns a code, the user sees an error, the sale is lost. But that framing misses something: a large share of declines are retriable. They’re soft declines.

A soft decline is a payment authorization refusal that isn’t permanent — caused by insufficient funds at the moment of the request, a temporary hold, or a fraud flag that can be cleared with additional context. A hard decline is genuinely terminal.

Decline TypeCommon CausesRetriable?Recommended Action
Soft declineInsufficient funds, temporary hold, unusual spend patternYesRetry after account state changes or with enriched data
Hard declineStolen card, closed account, card reported lostNoRequest alternate payment method

The problem is that most platforms can’t tell which is which. The issuing bank returns a generic decline code that tells you almost nothing about the actual account state.

You’re flying blind.

For platforms like Trainline, this blind spot is especially costly. Travel bookings have characteristics that trigger elevated decline rates compared to typical online shopping:

  • Pre-authorization holds that inflate the apparent charge before the final amount settles
  • Cross-border transactions where the card’s home bank flags a geographic mismatch
  • Basket values that spike unpredictably when users add multi-leg journeys
  • High per-transaction amounts that look like outliers in the user’s spending history

Industry data consistently shows travel platforms running payment failure rates of 10–15%, compared to 2–5% for standard retail online shopping. That gap isn’t about card quality — it’s about transaction complexity.


Trainline’s Specific Situation Made It Worse

A disproportionate share of Trainline’s bookings happen last-minute, on mobile, often when users are physically in transit. That combination — mobile device, potentially roaming, unfamiliar location — hits exactly the signals that fraud detection systems at issuing banks are trained to flag.

Add PSD2’s Strong Customer Authentication (SCA) requirement across European markets, and you’ve got a second failure vector entirely. SCA mandates two-factor verification for most online transactions above certain thresholds. When that verification flows through the standard 3DS redirect, users abandon checkout at measurable rates. Some never come back.

The 3DS abandonment problem is one that most payment teams I’ve spoken with describe as their most frustrating unsolvable problem — until open banking gave them a different option.


What “Digital Banking Integration” Actually Means at the Infrastructure Level

The fix wasn’t swapping one payment gateway for another, or adjusting fraud thresholds, or anything on the surface of the checkout flow.

Trainline’s team built a pre-authorization enrichment layer — a microservice sitting between the checkout and the payment gateway — that calls open banking endpoints to gather account state information before the authorization request ever fires.

The traditional payment flow looks like this:

Checkout → Payment Gateway → Card Network → Issuing Bank → Approve/Decline

Trainline had visibility only at the gateway step. Everything to the right of that was a black box. What open banking integration does is open a parallel data channel:

Checkout → [Open Banking API: balance check, spending signals, device fingerprint]
         ↓
         Enriched Payment Request → Gateway → Card Network → Issuing Bank

Under PSD2, banks operating in the EU and UK are required to expose APIs that allow authorized third parties to access account data with user consent. Partnerships with banks like Monzo and Starling gave Trainline access to signals that simply don’t exist in the traditional card authorization path.

The key data points this unlocked:

  • Real-time balance confirmation (does this account actually have enough to cover this transaction right now?)
  • Spending pattern signals that help distinguish a legitimate high-value transaction from a fraudulent one
  • Known-good device fingerprints from the user’s banking app, which carry more weight than a browser fingerprint alone

The latency constraint was non-negotiable. This enrichment layer had to complete in under 300 milliseconds — anything slower adds perceptible loading time to the payment step, a known conversion killer. Fallback logic was built in from day one: if the open banking APIs are unavailable, the request falls through to the legacy flow without any user impact.

One thing they got right that many teams get wrong: consent collection was woven into the account creation flow, not bolted on as an extra step at checkout. By the time a user reaches payment, consent is already established. No extra friction, no popup at the worst possible moment.


Smart Routing and Event-Driven Retries

The enrichment layer didn’t just improve individual authorization decisions — it made routing itself dynamic in a way that static gateway rules can’t match.

Previously, every transaction went through the same acquirer based on crude rules: geography, card type, transaction size. With open banking data in the request, Trainline could differentiate:

  • Corporate cards routed to acquirers with stronger B2B authorization rates
  • Digital wallet transactions routed separately from physical cards
  • Transactions where the open banking signal showed a recent large spend flagged differently than ones where the pattern looked anomalous

But the retry logic change is the one I’d argue had the biggest practical impact. Before: a declined transaction triggered a time-based retry (try again in 60 seconds). After: retries are event-driven, triggered by an open banking webhook signaling that account state has changed — a balance update, a hold lifting, a fraud flag clearing.

Time-based retries are essentially random. Event-driven retries happen when there’s actually a reason to believe the outcome will be different. That difference compounds across millions of transactions.

Trainline also trained an ML classifier on the dataset they assembled by pairing decline codes with real account state data from open banking. The classifier predicts retry success probability before a retry attempt is made. Low-probability retries aren’t attempted — and that matters, because futile retries aren’t free. They burn user goodwill, consume authorization budget, and in some fraud scoring systems, repeated failed attempts increase the probability of a future decline.


SCA Optimization: The Hotel Reservations Problem

For hotel reservations added onto rail journeys — a significant part of Trainline’s basket — SCA friction was creating a specific abandonment pattern. Users would reach the 3DS step for a hotel booking tacked onto their train ticket and bail.

Decoupled authentication was the fix. Some banks support SCA that happens asynchronously through the banking app, rather than as a synchronous redirect that blocks the checkout flow. The user gets a push notification, authenticates in their banking app, and the authorization completes — without the checkout session being interrupted at all.

Open banking data let Trainline identify which user accounts were held at banks supporting decoupled authentication. For those users, the checkout flow didn’t need to redirect. SCA abandonment on hotel reservations dropped — not because Trainline changed what SCA required, but because they changed where it happened.


The 40% Reduction: Where It Actually Came From

Decomposing a headline number is always more instructive than the number itself. The 40% failure rate reduction broke down across three categories:

  1. Eliminated soft declines — pre-authorization balance checks removed an entire category of avoidable failures before they reached the authorization step
  2. Smarter routing — dynamic acquirer selection improved authorization rates on transactions that would have gone through suboptimal paths
  3. SCA abandonment reduction — decoupled authentication converted users who would have abandoned at the 3DS redirect

The revenue math at Trainline’s scale is significant. For any platform processing £1B annually with a 10% decline rate, moving to 6% recovers approximately £40M in gross merchandise value that was previously falling off the table. And customer lifetime value compounds this further: a user who completes a payment is measurably more likely to return. A user who hits a failure often isn’t.

What They Gave Up

It’s worth being honest about the tradeoffs. Open banking integration adds API dependencies on third-party bank infrastructure — uptime and latency SLAs that are outside Trainline’s control. Consent management adds engineering surface area and ongoing compliance overhead under PSD2 and GDPR. And not every user benefits equally: open banking penetration is high in the UK, patchier across continental Europe, and largely unavailable outside PSD2 jurisdictions without separate integrations.

This architecture doesn’t eliminate payment failures. It eliminates the ones that were always avoidable.


What Online Shopping and Hotel Booking Platforms Should Take From This

The enrichment layer architecture isn’t specific to rail. Any platform handling high-value transactions — hotel reservations, online shopping carts with high-ticket items, car rentals, event ticketing — faces the same structural problem. The signals differ slightly, but the approach is identical.

If your team is starting from zero, the lowest-friction entry point is a single open banking balance check as a pre-authorization signal. No ML required, no event-driven retry infrastructure. Just confirm funds exist before you fire the authorization. Industry estimates suggest this alone can recover 20–30% of soft declines — a significant result for a relatively contained engineering investment.

Open banking APIs are available across the EU and UK under PSD2 registration. The US has the Financial Data Exchange (FDX) framework developing along similar lines, and Australia has the Consumer Data Right (CDR). The infrastructure is there. The question is whether your payment team is treating it as a data source or leaving it on the table.


Frequently Asked Questions

What is a soft decline and why does it matter for payment optimization?

A soft decline is a payment authorization refusal that isn’t permanent — the most common causes are insufficient funds at the time of the request, a temporary hold on the account, or a fraud flag that can be resolved with additional authentication. Unlike hard declines (stolen card, closed account), soft declines are retriable if you have the right information. For most online shopping and booking platforms, industry estimates suggest 30–50% of declines fall into this category, meaning a substantial portion of “failed” transactions are actually recoverable.

Does open banking integration require users to do anything differently at checkout?

Not when it’s implemented correctly. The open banking data exchange happens transparently in the pre-authorization step, within the latency budget of a normal checkout load. Users who’ve provided consent during account setup don’t see any change to their checkout experience. The consent step is the only user-facing element, and the best implementations collect it before the user ever reaches a payment screen.

How does SCA decoupled authentication differ from standard 3DS?

Standard 3DS (Three-Domain Secure) works as a synchronous redirect — the checkout flow pauses, the user is sent to their bank’s authentication page, they verify, and they’re redirected back. Decoupled authentication separates the authentication event from the checkout flow entirely: the bank sends a push notification to the user’s banking app, the user authenticates there within a defined window, and the checkout proceeds asynchronously. For hotel reservation add-ons or multi-step booking flows, this eliminates the redirect that causes measurable abandonment.

Is this approach only viable for large platforms like Trainline?

The architecture scales down. The ML classifier and event-driven retry infrastructure require meaningful engineering investment and transaction volume to train effectively, but the core pre-authorization enrichment layer — calling an open banking balance endpoint before submitting an authorization — is accessible to any platform registered with PSD2 providers. Several open banking aggregators offer API access that abstracts multi-bank connectivity into a single integration, which significantly reduces the upfront build cost.


Start With Your Decline Code Distribution

Trainline’s improvement started with a diagnosis that most payment teams skip: a detailed breakdown of decline codes against actual account state. If you haven’t done that analysis, start there.

Pull your last 90 days of declines and categorize them: how many were soft declines, how many were hard, how many were SCA abandonment? In most cases, that breakdown reveals that a large share of failures are recoverable — they just require data the standard payment flow doesn’t give you. That’s the gap open banking closes.

The 40% improvement Trainline achieved was sitting in their decline data the entire time. Yours probably is too.

Upgrade from Hiring Developers to Deploying an AI-Augmented Engineering Team.

Tell us about your product, platform, or business software requirement. We will suggest the right team structure, roadmap, and engagement model within 48 hours.