No. 12Security7 min read1,888 words
Fintech app compliance: what your web app must get right
Fintech app compliance for founders: PCI DSS, SOC 2, GLBA and GDPR scope, partner bank expectations, auth, audit trails and data rules to plan before you build.
- Written by
- Lazy Devs
- Published
- Updated
- Sources
- Cited inline

Key takeaways · 05
The short version
- 01Your compliance scope is set by your business model: whether you hold funds, touch card data, serve consumers or businesses, and which countries you operate in. Decide it before you design the architecture.
- 02Keep raw card numbers off your servers by using your processor's hosted fields or checkout. It is the single biggest lever for shrinking PCI DSS scope.
- 03SOC 2 is not a law but a CPA-audited report that banks and business customers ask for. A Type II report covers an observation period of several months, so start collecting evidence early.
- 04In the US, many non-bank fintechs are financial institutions under the FTC's GLBA Safeguards Rule, which requires a written security programme, MFA, encryption and notice to the FTC when unencrypted information about 500 or more consumers is acquired without authorisation.
- 05Build a tamper-evident audit trail, step-up authentication for money movement and object-level authorization checks on every request from day one. These are the hardest things to retrofit.
On this page · 11
A fintech web app has to get five things right that ordinary SaaS can treat more casually: its compliance scope (which regulations and standards apply), how it handles card and identity data, how money is modelled and audited, how users are authenticated and authorized for sensitive actions, and how data is retained, protected and deleted. The rest is a normal web app. Those five are where projects stall, timelines double and partner bank reviews go badly.
Building a fintech web app is mostly the same as building any other web app, right up until it is not. This is a plain-spoken tour of what to plan before you write a line of code, for the person signing the invoices. If you want the step-by-step build sequence, read how to build a fintech app alongside this.
This is engineering guidance, not legal or compliance advice. Confirm your obligations with a qualified fintech lawyer.
Your business model sets your compliance scope
"Fintech" covers everything from a budgeting dashboard that reads bank data to a product that holds deposits, and their obligations live in different universes. Answer these questions first, in writing:
- Do you hold or move customer funds? If yes, you need either your own licences or a regulated partner, and that partner's compliance programme becomes yours to follow.
- Do you touch card data? That brings PCI DSS into play.
- Do you serve consumers or only businesses? Consumer financial data carries extra privacy rules.
- Where are your users? US, UK and EU rules differ, and data residency follows.
- Who will you sell to? Banks and enterprises will ask for audit reports and security questionnaires.
As a rule of thumb, the less money you hold, the cheaper and faster you ship. A product that never touches funds can launch in months. Custody adds quarters and a real legal budget.
What your partner bank will expect
If you build on a sponsor bank or Banking-as-a-Service provider, they are accountable to their regulators for what you do, and they will oversee you accordingly. Expect them to require:
- A defined KYC and AML process, built to their specification. Our post on KYC and identity verification covers how to build that without wrecking onboarding.
- Written security and privacy policies, and evidence you follow them.
- Due diligence on your own vendors.
- Complaint handling and record keeping.
- Access to data and reports during reviews and audits.
None of this is optional once you sign. Build the reporting and evidence capture into the product rather than assembling it by hand every quarter.
The frameworks you will hear about
| Framework | What it is | When it applies to you |
|---|---|---|
| PCI DSS | The card industry's data security standard | Whenever you store, process or transmit card data, or your systems can affect its security |
| SOC 2 | A CPA-audited report on your controls, defined by the AICPA | Not a law, but expected by banks and business customers |
| GLBA Safeguards Rule | The FTC's security programme requirements for non-bank financial institutions | Many US fintechs handling consumer financial information |
| GLBA privacy rules | Privacy notices and limits on sharing consumer financial data | US consumer financial products |
| GDPR and UK GDPR | The EU's General Data Protection Regulation and its UK equivalent | Any personal data of people in the EU or UK |
| DORA | The EU's Digital Operational Resilience Act, applying since January 2025 | EU financial entities, and ICT providers serving them |
PCI DSS: the cheap path is to never touch card numbers
Hand card entry to your processor's hosted payment page, embedded hosted fields or mobile SDK, so raw card numbers go straight to them and never reach your servers. You still have PCI DSS obligations, but they shrink to a self-assessment instead of a major engineering and audit programme. Stripe's guide to PCI compliance explains how this works in practice.
The current version at the time of writing, PCI DSS v4.0.1, also pays attention to the scripts running on payment pages, so keep third-party tags off checkout pages and know exactly what loads there.
SOC 2: start the clock early
A SOC 2 Type I report assesses whether your controls are designed properly at a point in time. A Type II report tests whether they actually operated over an observation period, commonly several months. If you sell to businesses or banks, the request will come, and you cannot compress a Type II window after the fact. Set up the controls (access reviews, change management, logging, onboarding and offboarding) early, and use tooling to collect evidence automatically.
GLBA Safeguards Rule: often overlooked by startups
In the US, many non-bank fintechs (lenders, payment apps, financial advisers and others) count as financial institutions under the FTC's Safeguards Rule. It requires a written information security programme with a designated qualified individual, a written risk assessment, access controls, encryption of customer information, multi-factor authentication, monitoring, and, since May 2024, notifying the FTC of any unauthorised acquisition of unencrypted customer information involving 500 or more consumers, within 30 days of discovery. Most of that is good engineering practice anyway. The difference is that it must be documented.
Insurance carries a similar regulatory load with its own vocabulary; see web development for insurance and insurtech.
Money math and the ledger
This sounds basic and still ruins production systems. Never store money as a floating-point number: 0.1 + 0.2 does not equal 0.3 in JavaScript, and the error compounds. Store integers in the currency's minor unit with an explicit currency code, and in your strict TypeScript layer, give money its own type and refuse to mix currencies:
type Currency = "USD" | "EUR" | "GBP";
type Money = { amount: bigint; currency: Currency }; // amount in minor units
function add(a: Money, b: Money): Money {
if (a.currency !== b.currency) {
throw new Error(`Cannot add ${a.currency} to ${b.currency}`);
}
return { amount: a.amount + b.amount, currency: a.currency };
}
const fee: Money = { amount: 250n, currency: "USD" }; // $2.50Pair this with an append-only double-entry ledger: record immutable debits and credits and derive balances by summing them. It gives you a provable history, makes reconciliation possible, and turns bugs into something you can trace. Our guide to payment reconciliation and ledgers covers the design in detail.
Treat the audit trail as a feature
In a normal app, logs are for debugging. In fintech, the audit trail is a product requirement and often a partner or regulatory one. You need to answer "who did what, to which account, when and why" months later, including actions by your own staff and support tools.
- Append-only, with no update or delete path in application code.
- Tamper-evident, for example by storing a hash of each entry chained to the previous one, so silent edits are detectable.
- Separate from operational data, with its own access controls.
- Complete for staff actions, especially manual adjustments, refunds and account changes made from admin tools.
When a partner bank or auditor asks, you want to hand over a clean export, not have a developer search through application logs.
Authentication and authorization
Auth in fintech is higher stakes, so be specific:
- Step-up authentication. Logging in is one bar. Moving money, adding a payee, or changing an email address or phone number should require recent re-authentication or a second factor. NIST's authentication guidelines (SP 800-63B) are a solid reference for factor strength and session handling.
- Authorization on every request. Knowing who someone is differs from knowing what they may do. Broken object-level authorization, where user A reads user B's transactions by changing an ID, is ranked first in OWASP's list of API security risks. Scope every query to the authenticated customer.
- Strong customer authentication in the UK and EU. If you serve payment users there, the payment services rules (in the EU, PSD2 and its technical standards) require strong customer authentication, meaning two independent factors from knowledge, possession and inherence, for things like accessing a payment account online and initiating most electronic payments. Exemptions exist for low-risk and low-value cases, but your payment partner usually decides how they apply. Design the step-up flow once so it serves both your own risk rules and these legal requirements.
- Session and device awareness. Show users their active sessions and devices, let them revoke them, and alert on new devices.
- Don't roll your own. Use a vetted provider or library, as covered in our guide to authentication patterns for Next.js, and spend your effort on the authorization rules specific to your domain.
Our web application security checklist covers the rest of the baseline.
Data: privacy, residency, retention and deletion
Financial data creates a tension: privacy law says delete what you no longer need, financial regulation says keep certain records for years. GDPR's right to erasure explicitly gives way where retention is required by law, so you can satisfy both, but only if you design for it.
- Classify your data: identity documents, KYC results, transactions, communications, analytics.
- Assign each class a retention rule with the legal basis written next to it.
- Build deletion and anonymisation jobs that run on those rules, not ad hoc scripts.
- Choose hosting regions deliberately, and know where every vendor stores data.
- Keep sensitive data out of logs, analytics and error trackers by default.
Fraud, abuse and operational resilience
Fraud is a moving target and partly a data problem. Early on, sensible rules (velocity limits, new-device checks, limits that grow with account age) plus your KYC vendor's signals are enough. Do not build a machine-learning fraud engine for your first thousand users; you lack the data to train it.
Resilience matters just as much. Your partner or processor will have outages. Decide in advance what your product does when it cannot reach them: queue and retry, show a clear status, never guess at an outcome. Test backups by restoring them. Write an incident response plan that names who decides, who communicates and who notifies partners and regulators. If you serve EU financial entities, DORA makes much of this a formal obligation.
A pre-build checklist
Before the first sprint, you should be able to tick every one of these:
- Regulatory model chosen and reviewed by counsel.
- Partner bank or processor selected, with their compliance requirements in hand.
- Card data kept off your servers by design.
- Frameworks in scope listed: PCI DSS, SOC 2, GLBA, GDPR, DORA or others.
- Money modelled as integers in a double-entry ledger.
- Audit trail designed, including staff actions.
- Step-up authentication and object-level authorization rules written down.
- Data classes, retention rules and hosting regions decided.
- Incident response owner named.
If several of these are open, a short technical consulting engagement to close them will save far more than it costs.
Spend your care on the plumbing
The fintech considerations that sink projects are rarely the visible ones. Decide your compliance scope before you build, keep card data off your servers, model money in a ledger, build an audit trail from day one, and check authorization on every request. Then the app on top can be as simple as you like.
We build and review products like this for fintech teams. If you want a second pair of eyes on your architecture or compliance scope before you commit, tell us what you are building.
Enterprise buyers will usually ask for a SOC 2 report too; our guide to SOC 2 readiness for SaaS engineering teams covers what that means for engineering.
FAQ · 05 questions
Frequently asked questions
What compliance does a fintech app need?
It depends on what the product does. Common requirements include KYC and AML through your partner bank, PCI DSS if you handle card data, the GLBA privacy and safeguards rules for US consumer financial data, GDPR or UK GDPR for European users, and a SOC 2 report if you sell to businesses or banks. A fintech lawyer should confirm the list for your model and jurisdictions.
Is SOC 2 required for fintech startups?
No law requires SOC 2. In practice, sponsor banks, enterprise customers and larger partners often require a SOC 2 Type II report before they will work with you. Many startups begin with a Type I report, which assesses control design at a point in time, then move to Type II, which tests that controls operated over a period.
How do I reduce PCI DSS scope?
Never let raw card numbers reach your servers. Use your payment processor's hosted payment page, embedded hosted fields or mobile SDK so card data goes directly to the processor. You still have PCI DSS obligations, but they are far smaller, typically a self-assessment questionnaire instead of a full on-site assessment.
Do fintech apps have to delete user data under GDPR?
Users have a right to erasure, but it does not override legal obligations to retain records. Financial regulations commonly require keeping transaction and identity records for several years. Design for both: delete or anonymise what you no longer need, retain what the law requires, and document which rule applies to each type of data.
What is the difference between authentication and authorization in fintech?
Authentication confirms who someone is, for example with a password and a second factor. Authorization decides what that person may do, such as viewing a specific account or sending money from it. Broken authorization, where one user can access another's data by changing an identifier, is one of the most common serious flaws in financial apps and is ranked first in OWASP's API security risks.