Non-Fiction, Business Brief, Account Info

Account Information API Guide eBook

Retrieve account balances, transaction history, an

by Burton Barry

  • English
  • 154 pages
  • 2026
  • SamEnrico

Retrieve account balances, transaction history, and standing orders securely.

Formats

Free sample

Chapter 1: The Scraping Wreckage...–- In 2015, a popular personal finance app called “Penny Watcher” served 2.4 million users across the United Kingdom. Every morning at 3:00 AM, its servers logged into each user’s bank account using their stored username and password—credentials that users had been trained to hand over willingly. Penny Watcher would navigate the bank’s website, parse the HTML, extract balances and transactions, and present a clean dashboard. It was a beautiful product built on a catastrophic foundation. On a Tuesday in November, one of the six banks Penny Watcher integrated with pushed a seemingly innocent CSS class rename and added a CAPTCHA to its login page.

By Wednesday morning, 400,000 users saw empty dashboards. By Friday, the company had lost £3 million in valuation. The CEO later called it “the day we learned that screen scraping is not a business model—it’s a hostage situation.”This chapter is not about that company’s failure. This chapter is about why you will not repeat it.Welcome to the world of Account Information APIs—a world where consent is cryptographic, where bank servers verify your legal identity before releasing a single transaction, and where the JSON payload you receive is not merely data but a legally binding statement. Before you write your first GET request, you must understand the wreckage of the old world and the regulatory firestorms that built the new one.

This chapter tells that story. It covers the technical and legal collapse of screen scraping, the rise of PSD2, Open Banking, and FDX, and the foundational mindset shift required to implement Account Information APIs correctly. By the end, you will understand why implementing these APIs is 40% coding and 60% compliance—and why that split protects both you and your users.The Dark Ages: How Fintech Actually Worked Before APIs Between approximately 2010 and 2017, financial data access existed in a regulatory void. Hundreds of fintech startups—from budgeting apps to lending platforms to accounting software—relied on a single, unstable technique: screen scraping. The technical architecture was deceptively simple.

A user would create an account in a fintech app and provide their online banking username and password. The fintech’s servers would then programmatically control a headless browser (or, in cruder implementations, send HTTP POST requests mimicking form submissions) to log into the bank’s website as if it were the user. Once logged in, the scraper would navigate to the account summary page, download the HTML, and use regular expressions or DOM parsers to extract account numbers, balances, transaction lists, and sometimes even payment initiation details.The psychological contract was broken from the start. Banks actively discouraged this practice in their terms of service, yet millions of users ignored those warnings because the utility was undeniable. A user could see all their accounts in one place—a superpower that no single bank offered.

But the technical fragility was staggering. Any change to the bank’s website—a renamed CSS class, a new form field, an additional Java Script redirect, a CAPTCHA—would break the scraper for every user of that fintech simultaneously. There were no deprecation notices, no versioning, no backward compatibility guarantees. The bank’s front-end development team, entirely unaware that third-party services depended on their HTML structure, would push a change on a Thursday afternoon, and by Friday morning, customer support queues at the fintech would explode.Beyond brittleness, screen scraping created four catastrophic failures that no amount of clever engineering could fix.The Four Fatal Flaws of Screen Scraping Flaw One: Credential Exposure. The most immediate and obvious failure was security.

Users were handing their primary banking credentials—the same credentials that could empty their accounts, change their address, or authorize wire transfers—to unregulated third parties. Even well-intentioned fintechs faced an impossible choice: store credentials in a retrievable format (typically reversible encryption or, horrifyingly, plaintext) to perform automated logins, or force users to re-enter credentials every time (which destroyed user experience). A 2017 study by the University of Cambridge found that 76% of personal finance apps stored credentials in formats that would be recoverable if the app’s database was breached. The study’s authors noted dryly: “Users are being trained to treat banking credentials like social media passwords.”Flaw Two: No Consent Granularity. Screen scraping offered an all-or-nothing proposition.

When a user provided their credentials, the fintech gained the ability to read balances, view transactions, initiate payments, change personal details, and sometimes even close accounts. There was no mechanism for “read-only for 90 days” or “balances only, no transaction history.” The user’s only choices were full trust or no access. This binary consent model violated emerging privacy principles long before GDPR codified them into law.Flaw Three: Liability Black Hole. When something went wrong—when credentials were stolen from a fintech’s database, when a scraper accidentally initiated a payment due to a form misclick, when a user’s account was drained—the liability was impossible to assign. Banks blamed the fintech for storing credentials insecurely.

Fintechs blamed the bank for not having a proper API. Users blamed everyone and had no legal recourse because they had technically violated their bank’s terms of service by sharing credentials. In one notable 2016 incident, a UK-based budgeting app had its database breached, and attackers drained 127 user accounts before the bank’s fraud team noticed. The bank refused to reimburse users, citing the terms of service clause prohibiting credential sharing. The fintech declared bankruptcy.

The users lost everything.Flaw Four: Unauthorized Data Retention. Because screen scraping had no governance, fintechs retained scraped data indefinitely—often without the user’s knowledge or ongoing consent. A user could close their account with a fintech app, but the startup’s database would still contain their complete transaction history, account numbers, and full name. Some companies sold this data to data brokers. Others used it to train machine learning models without consent.

There was no standard for data deletion, no audit trail, no user visibility into what data was held or for how long.By 2017, regulators had seen enough. The collision of consumer harm, data breaches, and anti-competitive behavior (banks were accused of using scraping fragility to block third-party innovation) created the political will for radical intervention. The solution was not to improve scraping but to abolish it entirely. The solution was the Account Information API.The Regulatory Earthquake: PSD2, Open Banking, and FDXBetween 2015 and 2019, three major regulatory and industry frameworks emerged that fundamentally rewired how financial data is accessed. Each approached the problem from a different angle, but all converged on a shared belief: banks must provide secure, standardized, consent-driven APIs, and screen scraping must become a historical footnote.PSD2: Europe’s Mandate for Open APIs The Revised Payment Services Directive (PSD2) took effect across the European Union in January 2018, though its most consequential provisions—those requiring banks to provide API access—were enforced beginning September 2019 after a transitional period.

PSD2 was not primarily an open banking law; it was a payments law designed to increase competition, improve security, and enhance consumer protection. But its most transformative requirement appeared in Article 66, which mandated that banks must provide licensed Third-Party Providers (TPPs) with access to customer account information—provided the customer had given…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

Retrieve account balances, transaction history, and standing orders securely.

Details

Author
Burton Barry
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Business Brief, Account Info
Released
2026-05-29
Pages (approx.)
154
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Burton Barry

See all