Sub topic 5
Funnel accounts: collecting deposits in one place and withdrawing elsewhere
This chapter assumes you know retail banking basics (cash deposits, transfers) and can read short Python and SQL. It covers what a funnel account is, which red flags it shows, and how to find one with a simple rule and a query.
What a funnel account is
A funnel account collects deposits from many people or locations and passes the money on quickly, usually somewhere far from where it came in. The account is a collection point. It is not where the money is used.
The classic version works like this. Criminals deposit cash at branches in several cities into one account. Within hours or days, the money is withdrawn or transferred in another city or country. Because each deposit is small and local, nothing looks odd at the branch. The pattern is only visible when you look at the account as a whole.
Funnel accounts mostly serve the layering stage. They separate the money from its source and make the trail harder to follow. They often combine with structuring (small deposits) and with money mules (people who own the account or move the funds).
Red flags
Account-level red flags:
- Many deposits from different places, often several cities or states, into one account.
- Many distinct senders paying the same account.
- Funds leave within a short time, so the balance stays low.
- Outflows are close to inflows (a high pass-through ratio).
- Withdrawals happen far from the deposit locations.
Customer-level red flags:
- Activity far above what the customer said to expect when opening the account.
- A recently opened account, or a customer with no obvious business reason for the flows.
- Reluctance to explain the source of funds.
Detecting fan-in and pass-through
Two measures capture the pattern: the number of distinct sources (fan-in) and the share of inflow that leaves again (pass-through). The first function computes both over one review window.
from collections import defaultdict
def flag_passthrough(transfers, min_sources=5, ratio=0.9):
"""transfers: iterable of (source, destination, amount) within one review window."""
inflow = defaultdict(float)
outflow = defaultdict(float)
sources = defaultdict(set)
for src, dst, amount in transfers:
inflow[dst] += amount
outflow[src] += amount
sources[dst].add(src)
return [
acct for acct in inflow
if len(sources[acct]) >= min_sources
and outflow[acct] >= ratio * inflow[acct]
]An account is flagged when it has at least five distinct senders and sends out at least 90% of what it receives. Both thresholds are tunable. The function assumes all transfers fall in one window, so you must filter by date before calling it.
For a first-pass list in a database, aggregate by destination:
-- PostgreSQL syntax
SELECT dst_account,
COUNT(DISTINCT src_account) AS distinct_senders,
SUM(amount) AS total_inflow
FROM transfers
WHERE ts >= CURRENT_DATE - INTERVAL '7 days'
GROUP BY dst_account
HAVING COUNT(DISTINCT src_account) >= 5
ORDER BY total_inflow DESC;This query only measures fan-in. It does not check outflow, so it returns legitimate collectors too. Join it with outgoing transfers or apply the Python check to narrow the list.
Common errors
- Using a window that is too long. Over months, normal accounts accumulate many senders and the signal disappears.
- Ignoring timing. Money that leaves the same day is more suspicious than money that sits for a month, but the ratio test above does not see this.
- Treating the first alert as proof. The alert starts a review, and the review decides.
Exercise
An account received transfers from eight different senders in one week, and it sent out 95% of that total the next day. A second account also received transfers from eight senders, but it kept most of the money. Which one better fits a funnel pattern, and what would you check before escalating the first?
Show answer
The first account fits the pattern: high fan-in plus rapid pass-through. Before escalating, check the customer's expected activity and stated business (for example, a club collecting fees and paying a supplier), the account age, where the funds went, and whether the senders have any link to each other or to known suspicious accounts.