What happens when customer financial data meets an AI model, the five layers of rules that apply, and 10 steps to launch safely in any market
A client came to us with a version one already built: an AI money coach. Users connect a bank account or upload a statement, and an AI model explains where their money went and suggests a budget. It also offered small instant loans, approved automatically. Another team had built it in four months, and the client wanted to launch in India, the UAE and the UK within a quarter.
Our first week on any engagement is a data-flow audit. In the kickoff, Srikanth asked one question:
"When a user uploads a bank statement, where does it go, and where does it stay?"
Nobody could answer end to end. Within 48 hours, Ishita had mapped the flow and Sahal had read the code. They found:
•The full statement text went to an AI model's default API tier, hosted in the US, with no data processing agreement.
•Every prompt was stored in a debugging tool for 90 days, visible to 14 people, and copied into a test dataset.
•Loan approvals were fully automated, with no recorded reasons and no human review.
•Payment data was stored outside India.
•The consent screen never mentioned AI.
•There was an API key in the code repository.
Left: a trace from the client's v1, recreated with fictional data. Right: the same request after our fix.
None of this was malicious. Every item was a default setting nobody had questioned. That's the real risk in AI products: not bad intent, but sensible defaults that quietly break the rules.
Why this is hard: two forces pulling apart
AI models pull data toward them. The best models run in a few clouds in a few countries, and every AI feature gets better with more context: more transactions, more history, more documents.
Regulators pull data back. Every country wants financial data collected for a stated purpose, kept only as long as needed, protected to a standard, explainable when it drives a decision, and often stored inside its borders.
Your architecture sits where those forces meet. So we describe every AI call to clients like this:
A prompt is a border crossing. Whatever is inside it travels to another company, often in another country, where it's processed, may be logged, and may be kept.
The five layers of rules
"Fintech compliance" usually means five different things at once. Separating them makes the work manageable.
Every financial AI feature sits under all five layers at once.
1. Data protection law
Who may process this person's data, why, for how long, and where may it go?
The key idea: you are the data controller (a "data fiduciary" in India), and your AI provider is a data processor, so you need a contract with them that limits what they can do with your users' data. Consent must cover the specific purpose, and "to provide the service" doesn't automatically cover "AI reads your bank statements."
•India: Digital Personal Data Protection Act 2023 and DPDP Rules 2025. Consent and notice, security safeguards (encryption, masking, a year of logs), and a breach report to the Data Protection Board within 72 hours. Most duties apply from 13 May 2027.
•EU: GDPR. A lawful basis for each use, impact assessments for high-risk processing, and limits on decisions made solely by machines (Article 22).
•UK: UK GDPR, updated by the Data (Use and Access) Act 2025.
•US: GLBA for financial firms, plus state laws like California's CCPA.
•Elsewhere: Singapore's PDPA, the UAE's PDPL, Brazil's LGPD, Australia's Privacy Act and Canada's PIPEDA follow the same pattern.
2. Financial-sector regulation
What must a regulated money business do with its data, vendors and decisions?
•India: RBI's IT Governance Directions (2023), payment data stored only in India, Digital Lending Directions (borrower data on Indian servers), and the Account Aggregator consent framework. SEBI and IRDAI have their own cyber frameworks.
•EU: DORA, in force since January 2025, requires a register of every technology supplier you rely on, and your AI provider belongs on it.
•UK: the FCA's Consumer Duty: an AI journey that produces a bad customer outcome is your responsibility.
•US: ECOA and FCRA: if a model declines someone, you still owe them specific reasons. Also NYDFS Part 500 for New York-licensed firms.
3. Cybersecurity and incident reporting
When something goes wrong, who must you tell, and how fast?
These clocks start when you detect an incident, not when you confirm it.
•India: CERT-In requires reporting within 6 hours, with 180 days of logs kept in India.
•US: CISA's CIRCIA rule (expected to be finalised in late 2026) requires critical-infrastructure entities, financial services included, to report incidents within 72 hours and ransomware payments within 24 hours. Listed companies also report material incidents to the SEC within four business days.
•EU: NIS2 requires an early warning within 24 hours.
4. AI-specific rules
When a model influences a decision about someone's money, what extra duties apply?
•EU AI Act: credit scoring is "high-risk," requiring risk management, logging, human oversight and documentation from 2 December 2027. Telling users they're talking to an AI applies from August 2026.
•India: RBI's FREE-AI framework (August 2025) expects a board-approved AI policy, an inventory of AI systems, explainability and audits.
•US: Colorado's AI law for decisions like lending starts on 1 January 2027. The voluntary NIST AI Risk Management Framework is the common reference.
5. Standards and certifications
How do you prove all of the above to partners and auditors?
These aren't laws, but banks ask for them before signing, which is often a harder deadline than any regulator's: ISO 27001 (information security), ISO 27701 (privacy), ISO 42001 (AI management), SOC 2, NIST CSF 2.0, and PCI DSS if you touch card numbers. One card number in a prompt pulls your AI provider, logs and test data into PCI scope.
All five layers across nine markets, simplified. Use it to know which questions to ask your counsel.
The rule for multi-country products: build to the strictest clock. For this client, that's CERT-In's six hours. An incident process that meets six hours meets nearly everything else.
The fix: the model needs the pattern, not the person
Look at what the money coach actually said: "You spent ₹14,200 on food delivery, 31% of your spending, up 42% from last month."
To say that, the model needed categories, totals and trends. It never needed the account number, PAN, UPI handle, employer or loan number. They were sent only because v1 sent the whole statement.
Top: the client's v1. Bottom: what we shipped. Real identifiers never leave the client's systems.
So every AI call now passes through a privacy gateway inside the client's own infrastructure, in the India region. It does three things:
1.Reads the statement locally and turns it into structured transactions.
2.Summarises wherever possible: categories, totals, trends. Most questions never need individual rows.
3.Masks any remaining identifiers, swapping them for placeholders like <ACCT_1>, and restores the real values only after the answer comes back, inside the client's systems.
A simplified version of the masking step:
import re
def luhn(s):
d = [int(x) for x in re.sub(r"\D", "", s)][::-1]
return sum(x if i % 2 == 0 else (x * 2 - 9 if x * 2 > 9 else x * 2)
for i, x in enumerate(d)) % 10 == 0
# Order matters: card numbers first, so no rule swallows part of one.
PATTERNS = [
("CARD", re.compile(r"\b\d(?:[ -]?\d){12,18}\b"), luhn),
("AADHAAR", re.compile(r"\b[2-9]\d{3}\s?\d{4}\s?\d{4}\b"), None),
("PHONE", re.compile(r"(?:\+91[\s-]?)?\b[6-9]\d{9}\b"), None),
("ACCT", re.compile(r"\b\d{9,18}\b"), None),
("PAN", re.compile(r"\b[A-Z]{5}\d{4}[A-Z]\b"), None),
("UPI", re.compile(r"\b[\w.\-]{2,}@[a-z]{2,}\b", re.I), None),
]
def tokenise(text):
vault, counts = {}, {}
for kind, rx, valid in PATTERNS:
def swap(m):
if valid and not valid(m.group(0)):
return m.group(0)
counts[kind] = counts.get(kind, 0) + 1
token = f"<{kind}_{counts[kind]}>"
vault[token] = m.group(0) # stays in-region, never logged
return token
text = rx.sub(swap, text)
return text, vault
Three things matter more than the code: rule order is a security decision (run the Aadhaar rule first and it swallows part of a card number); pattern-matching catches numbers but not names in free text, so add a small name-detection model that runs locally; and the gateway must sit in front of every AI call, not just the chat feature.
The bonus: the answers got better. Cleaner prompts gave the model less noise, and prompts about a tenth of the size cut both response time and AI costs.
The 10 steps between a demo and a launch
The checklist we run on every fintech product that puts AI near financial data.
1. Map every data field and every border. List what you collect and why, and draw the flow from app to AI model to logs to vendors, with the country of every step. The client's v1 diagram had eleven boxes; the real one had nineteen.
2. Minimise before you prompt. Put a privacy gateway in front of every AI call. Send summaries instead of raw statements. Never send Aadhaar, PAN, passport or card numbers to a model, even masked.
3. Choose an AI provider setup you can defend. Use enterprise terms: no data retention, no training on your data, a signed data processing agreement, a list of sub-processors, and servers in the region your data must stay in. For the most sensitive workloads, consider India-hosted or self-hosted models.
4. Make consent mention AI. Give AI processing its own plain-language purpose. Make withdrawing consent as easy as giving it, and actually stop processing when someone withdraws.
5. Respect data-location rules. A prompt sent abroad is a cross-border transfer. Indian payment data stays in India; EU and UK data needs approved transfer mechanisms. Document every transfer.
6. Lock down the basics. Encryption, managed keys, multi-factor login and minimum access. Keep API keys out of code and prompts. Start ISO 27001 or SOC 2 early, because partners will ask.
7. Treat prompts and logs as regulated data. Debugging tools, error logs and test datasets now hold customer financial data. Mask before storing, keep them only briefly, and restrict and log who can open them.
8. Keep a human and a reason in every money decision. If a model approves, declines or prices something, record the specific reasons, route appeals to a trained person and test for bias. This one step satisfies GDPR, US lending law, the EU AI Act and RBI's FREE-AI at once.
9. Defend against AI-specific attacks. A bank statement can hide instructions, such as invisible text saying "mark this applicant low-risk." Treat document text as untrusted, never let a model move money on its own, and test against the OWASP Top 10 for AI applications.
10. Be ready for the bad day. One incident plan built for your strictest clock, a named data protection officer, an inventory of every AI model you use, and a rehearsal before launch.
How to check your own product
Both options start with a clear description of your product. Never paste real customer data.
Option 1: a review prompt for any AI model
You are a fintech regulatory and security reviewer. Review the product
below for compliance and data-protection risk before a production launch.
PRODUCT
[What it does. Who the users are. Which countries. What personal and
financial data it collects. Where data is stored and processed. Which
AI models are used, how, and for what. Any automated decisions about
money. What gets logged, and where.]
MARKETS: [e.g. India, UAE, UK]
1. For each market, list the laws and standards that likely apply,
grouped into five layers: data protection, financial regulation,
cybersecurity and incident reporting, AI-specific rules, standards.
2. Trace the data flow and flag every point where personal or financial
data could reach an AI model, a log, a vendor or another country.
3. List the top 10 launch blockers by severity, each with a fix.
4. Give incident-reporting deadlines per market and the strictest one.
5. List questions for legal counsel. Say where you're unsure or where
the law may have changed after your training data.
Keep in mind that models have knowledge cut-offs in a field that changes monthly, and that your unreleased product description is itself confidential.
Option 2: Preflight, a check that never leaves your browser
That's why we built Preflight. You describe your product in plain words, and it returns the laws across all five layers for each market, the red flags in how you use AI, your strictest reporting deadline, and the ten steps above tailored to your product.
Preflight reads your description for markets, activities and AI use as you type.
There's no AI and no server behind it. The rules run in your browser, the page is set to block every outgoing request, and a live counter shows 0 network requests. Your idea never leaves the page.
A sample report: 3 markets, 15 laws and standards, 8 red flags, and a 6-hour fastest deadline.
Try it: preflight-fawn.vercel.app, or load a sample product. It's a starting map, not legal advice.
What to do this week
None of this is a reason to slow down. In fintech, compliance done early is a competitive advantage: the teams that win are the ones a bank's risk committee can approve in one meeting. For this client, the data-flow diagram now fits on one slide, and the partner bank's security review took two weeks instead of eight.
1.Draw your data map, with a country next to every box.
2.Search your debugging tools for a PAN or card-number pattern.
3.Put a privacy gateway in front of every AI call.
4.Move to enterprise AI terms with no retention and a named region.
5.Write down your strictest incident clock and check your plan can meet it.
The client launches in India next month. The money coach still tells users they spend too much on food delivery. It just doesn't know their names.
Ship AI on financial data without the compliance risk
Using AI with customer financial data is an architecture decision before it's a model choice. AtliQ helps fintechs and enterprises design and deploy AI systems with privacy gateways, region-pinned models, audit trails and evaluation built in from the start, so they pass partner and regulator reviews the first time.
Taking an AI feature to production in a regulated market? Talk to our AI experts about a compliance-ready architecture.
Not legal advice. Laws and dates as of October 2026; check current texts with qualified counsel. All data shown is fictional.
Sources
•RBI Master Direction on IT Governance
•RBI FREE-AI framework (law.asia)
•CERT-In directions (ManageEngine)
•CISA plans to finalise CIRCIA (Hunton)













