The Frictionless Enterprise
Coinbase Stored Everything. Here's the Architecture That Stores Nothing.
Last edition, I showed how $400M was stolen from Coinbase — not by hacking their systems, but by bribing a support agent who had access to stored KYC data.
The lesson was clear: if you don't store it, it can't be stolen.
But that raises an obvious question: if you stop storing KYC data, how do you verify customers?
The answer is an architecture shift that most compliance teams haven't considered — and it doesn't just eliminate the security risk. It makes verification cheaper, faster, and more defensible to regulators.
Query-based architecture: verify every time by querying the source. Store nothing but the verification event.
The Stale Data Problem
Traditional Model: Verify once, store data, use stored data until next verification Risk: Data changes but your records don't Exposure: Operating on outdated information without knowing it
Query-Based Model: Verify every time you need the information by querying the source Benefit: Always working with current data Exposure: Eliminated (you never operate on stale data)
Key insight: The moment you store data, it begins aging. The moment you query data, it's current.
How Query-Based Architecture Works
Traditional Stored-Data Flow
Customer onboards → verify data → store in your database
Use stored data for next 6-12 months
Periodic re-verification → update stored data
Gap: Data changes in official registry, you don't know until next check
Query-Based Flow
Customer onboards → query official source → receive current data → make decision
Store only: verification event metadata (timestamp, source, result)
Next time you need to check customer → query official source again → receive current data
Gap eliminated: Every query returns current state
Result: Zero lag between official source and your compliance decisions
Real-Time Benefits
1. Continuous Compliance
Scenario: Company's beneficial owner added to sanctions list yesterday
Traditional approach:
Your stored data: Shows clean ownership (verified 3 months ago)
Next scheduled check: 2 months away
Exposure: 2 months of transacting with sanctioned individual
Query-based approach:
Your next transaction: Triggers fresh query
Query returns: Current sanctions status
Exposure: Less than 24 hours (time between sanctions update and your next query)
Risk reduction: 99% fewer days of exposure
2. Regulatory Defensibility
Regulator question: "When did you verify this customer's ownership structure?"
Traditional answer: "We verified it 8 months ago and it's still in our records." Regulator concern: "The official registry shows ownership changed 6 months ago."
Query-based answer: "We query the official registry before each high-value transaction. Most recent query was yesterday." Regulator response: "This is the standard we expect."
3. Operational Efficiency
Paradox: Real-time querying is actually LESS work than managing stored data
Traditional model work:
Initial verification
Data storage
Database maintenance
Periodic re-verification schedules
Manual flagging of outdated records
Exception handling for data conflicts
Query-based model work:
Query when needed
Log verification event
Done
Stored data requires ongoing management. Queried data doesn't.
The Technical Implementation
API-First Verification Platform
Intelligent Query Triggers
When to query:
Customer onboarding (initial verification)
High-value transaction (threshold-based)
Periodic risk assessment (risk-based frequency)
Regulatory examination preparation
Suspicious activity investigation
Frequency determined by: Risk level, transaction volume, regulatory requirements Cost: Pay per query (vs. paying to store everything constantly)
Cost Comparison: Query vs. Storage
Storage Model (Annual)
Database infrastructure: $80k
Backup/DR: $40k
Re-verification labor: $120k
Data aging risk: Unquantified
Total: $240k + risk
Query Model (Annual)
API fees (10,000 queries/month @ $8): $96k
Integration maintenance: $30k
No re-verification labor needed
Data aging risk: Zero
Total: $126k, no risk
Savings: 47% + eliminated stale data risk
Addressing Common Concerns
"What if the API is down?"
Storage advocate: "If the API fails, you have no data!" Reality: Official registries have >99.9% uptime. Your database has similar SLA requirements.
Better question: "Would you rather have fresh data 99.9% of the time, or stale data 100% of the time?"
Mitigation: Cached query results valid for 24-48 hours provide fallback without long-term storage liability.
"What about audit trails?"
Query-based provides BETTER audit trails:
Exact timestamp of each verification
Source registry clearly identified
Can reproduce verification (re-query shows data evolution)
Complete chain of custody from official source
Storage-based audit trails are weaker:
Shows when you stored data, not when source was updated
Can't reproduce original verification
Can't prove data was current when you used it
"Isn't this more expensive?"
Only if you ignore hidden costs of storage:
Infrastructure
Security
GDPR compliance overhead
Breach risk
Re-verification labor
When you account for total cost, query-based is 40-50% cheaper with zero stale-data risk.
Migration Strategy
Phase 1: New Customers (Week 1)
Implement query-based verification for new onboarding
Prove concept with fresh customer flow
Measure query costs and timing
Phase 2: High-Risk Re-verification (Month 2-3)
Replace scheduled re-verification with query-based checks
Eliminate stored data for re-verified customers
Quantify operational savings
Phase 3: Bulk Migration (Month 4-12)
Systematically replace stored customer data with query capability
Archive verification logs, purge personal data
Achieve 90%+ query-based operations
Timeline: Most institutions complete migration in 6-12 months
Key Takeaways
🔹 Stored data ages instantly: The moment you save it, it begins diverging from reality
🔹 Query-based = always current: Every verification uses real-time official data
🔹 Better compliance, lower cost: 47% cheaper while eliminating stale data risk
🔹 Superior audit trails: Can prove data currency at moment of decision
The Architecture Choice
Traditional compliance says: "Verify, store, re-verify periodically." Modern compliance says: "Query when needed, store metadata only, data stays current."
One creates liability and lag. The other eliminates both.
What percentage of your compliance decisions use real-time data vs. stored historical data? If it's mostly historical, you're operating with a compliance lag you probably don't even measure.
Next: The 5-Minute KYC — How API-first architecture eliminates onboarding friction entirely.
Thank you for your time!
Alexandre