CLOSE
megamenu-tech
CLOSE
service-image
CLOSE
CLOSE
Blogs
How to Build a Digital Wallet Application

Technology

How to Build a Digital Wallet Application

#Business

#Product Strategy

By Reckonsys Tech Labs

June 9, 2026

Screenshot 2026-06-09 155209

In 2016, Vijay Shekhar Sharma stood in front of a whiteboard in a Noida office and explained, to a team of fewer than 50 engineers, why a digital wallet was not a payments product. It was a trust product. The engineering challenge was not moving money — India had NEFT and IMPS for that. The challenge was making the act of handing money to a phone feel as natural and safe as handing cash to a person.

Paytm scaled to 350 million registered users, 21 million merchants, and a peak transaction volume of 1.4 billion transactions a month. The architecture that made that possible — the choices made at the wallet layer, the KYC layer, the ledger layer, and the security layer — is not proprietary knowledge. It is, by now, well-documented engineering practice.

What is not well-documented is the specific sequence of decisions that a product team building a wallet application in 2026 needs to make: what to build first, what to defer, which compliance requirements are non-negotiable at day one, and what architectural choices will determine whether the product can scale or will require a complete rebuild at 500,000 users.

This guide covers all of it. From the minimum viable wallet that clears RBI prepaid payment instrument (PPI) licensing requirements to the architecture of a production-grade wallet that can support embedded finance, lending integrations, and cross-border remittance.

What a Digital Wallet Application Actually Is

Wallet Type What It Is RBI Classification Key Technical Requirement
Closed Wallet Wallet issued by a specific merchant for use only within that merchant's platform. Starbucks, Zomato Credits, Amazon Pay balance (partially). Closed system — no RBI PPI licence required Ledger management, refund handling, expiry logic
Semi-Closed Wallet Wallet usable across a network of merchants. PhonePe, Paytm Wallet, MobiKwik. RBI Small PPI or Full KYC PPI licence KYC integration, UPI interoperability, AML transaction monitoring
Open Wallet Full-function wallet that allows cash withdrawals and transfers. Effectively a bank account with a wallet interface. Full KYC PPI licence + bank partnership Core banking integration, NACH mandate, real-time fraud scoring
Crypto / Web3 Wallet Non-custodial or custodial wallet for digital assets. MetaMask, Coinbase Wallet. Currently under VDA (Virtual Digital Asset) framework — PMLA compliance Key management, blockchain node integration, gas fee estimation

The term 'digital wallet' covers four structurally different product categories. Before any architecture discussion, the team needs to agree on which one they are building — because the compliance requirements, the technical architecture, and the go-to-market are entirely different.

The Regulatory Foundation: What You Cannot Skip

Every wallet application in India operates inside a regulatory framework that determines what users can do with their funds, what data the platform must collect, and what reports must be filed. This is not optional compliance — it is the architecture.

RBI PPI (Prepaid Payment Instruments) Framework

The RBI Master Direction on Prepaid Payment Instruments (updated 2024) governs all non-bank digital wallets in India. The critical requirements by wallet type:

  • Small PPI (up to ₹10,000 balance): Minimum KYC — mobile number + self-declaration. Cannot be used for cross-border transactions. Merchant payments and fund transfers between PPIs of same issuer only.
  • Full-KYC PPI (up to ₹2,00,000 balance): Aadhaar-based or in-person KYC. UPI interoperability mandatory. Can be loaded via cash, bank debit, credit cards. Can transfer to bank accounts (₹10,000/month limit without additional authorisation).

Gift PPIs: No KYC required. ₹10,000 limit. Non-reloadable. No cash-out.

KYC Architecture: What Actually Needs to Be Built

KYC in a wallet application is not a form. It is a service layer that integrates with four external systems and must handle asynchronous state management, failure recovery, and re-verification triggers.

  • Aadhaar OTP Authentication: Integrate with UIDAI authentication API. Real-time, sub-3-second response time required for user experience. Handle OTP expiry, rate limiting (3 attempts per session), and UIDAI downtime gracefully.
  • PAN Verification: NSDL or Karza API integration. Async verification with webhook callback. Link PAN to wallet for TDS deduction compliance above ₹50,000 annual transactions.
  • Video KYC: Required for Full-KYC wallets without in-person verification. RBI-compliant V-CIP (Video Customer Identification Process) with recorded session storage, liveness detection, and agent-assisted or AI-automated verification.

Re-KYC Triggers: System must trigger re-verification on suspicious activity, address mismatch, or at periodic intervals mandated by the PPI licence.

AML and Transaction Monitoring

Any wallet processing above ₹50,000 in a single transaction or ₹10 lakh cumulative in a month falls under mandatory STR (Suspicious Transaction Report) filing with the Financial Intelligence Unit (FIU-IND). The system needs:

  • Rule-based transaction screening (velocity rules, amount thresholds, geographic anomalies)
  • ML-based anomaly detection for pattern recognition across user cohorts
  • Automated STR/CTR filing pipeline integrated with FIU-IND FINNET portal
  • Sanctions screening against OFAC, UN, and RBI watchlists

The Architecture of a Production-Grade Digital Wallet

A wallet application is, at its core, a distributed ledger with a user interface. The engineering challenge is not the UI — it is building a financial ledger that is correct under every failure scenario: network partition, database failover, payment gateway timeout, duplicate transaction submission.

The Ledger: The Core of Everything

Every wallet balance is maintained in a double-entry ledger. Every transaction creates two ledger entries: a debit from one account and a credit to another. This is not a design preference — it is an accounting requirement and the only data model that makes reconciliation tractable at scale.

Ledger Concept What It Means Why It Matters
Double-Entry Posting Every transaction = debit + credit. Credits and debits always balance. Enables reconciliation. Detects missing transactions. Required for audit.
Idempotency Keys Each transaction carries a unique key. Duplicate submissions return the original result, not a second transaction. Prevents double-charges on network retry. Non-negotiable for payment systems.
Eventual Consistency vs Strong Consistency Balance reads can be eventually consistent. Balance writes must be strongly consistent. Use read replicas for balance display. Use primary DB with advisory locks for debit transactions.
Soft Delete / Immutability Ledger entries are never deleted or modified. Corrections are made via reversal entries. Required for audit trail. Enables forensic investigation of disputed transactions.
Ledger Partitioning Partition ledger by user_id hash for reads; by date for archival. Supports horizontal scaling. Query performance degrades at 100M+ rows without partitioning.

System Architecture: Core Services

A production wallet decomposes into distinct services. Running everything in a monolith is acceptable at MVP stage (under 50,000 users) but becomes a scaling constraint above that. Design for service separation even if the initial deployment is a single application.

  • Auth Service: JWT + refresh token flow. OTP via SMS (Fast2SMS or MSG91). Biometric authentication via device APIs. Session invalidation on suspicious device change.
  • KYC Service: Orchestrates the KYC state machine. Integrates with Aadhaar, PAN, Video KYC providers. Maintains verification status, expiry, and re-verification triggers. Emits events to other services on KYC completion or failure.
  • Wallet Service: Manages wallet accounts, limits, and configurations. Exposes balance read (eventually consistent, from cache) and balance write (strongly consistent, from primary DB).
  • Transaction Service: Processes all money movement. Implements idempotency. Publishes events to ledger service and notification service. Handles payment gateway webhooks.
  • Ledger Service: Double-entry accounting engine. Append-only. Exposes reconciliation and statement APIs. Never accepts mutations — only appends.
  • Notification Service: SMS, email, push. Transactional notifications are regulatory requirements — RBI mandates SMS/email alert on every debit/credit above ₹1. Queue-based, retry with exponential backoff.
  • Fraud & Risk Service: Real-time transaction scoring. Rule engine + ML inference. Emits block/review/allow decisions to Transaction Service within 200ms SLA.

Reporting Service: Generates statements, tax documents (Form 26AS data), and regulatory reports. Async batch processing. Separate read DB, never queries primary.

Wallet Features: What to Build in Which Order

The sequence in which wallet features are built matters more than the features themselves. Most wallet products fail not because they lack features but because they built the wrong features in the wrong order and incurred compliance or technical debt that prevented them from completing the product.

Phase Features Compliance Gate Timeline
Phase 1: Core Wallet User registration, Mobile OTP auth, Small PPI KYC, Wallet creation, Load via debit card/net banking, Peer-to-peer transfers within platform, Transaction history, Push notifications for debits/credits RBI Small PPI authorisation (or operate under partner bank's PPI licence) 10–16 weeks
Phase 2: UPI Integration UPI ID creation and linking, Collect requests, QR code payments, BHIM UPI interoperability, UPI Autopay mandates Full-KYC PPI upgrade required. UPI certification via NPCI. 8–12 weeks
Phase 3: Merchant Ecosystem Merchant onboarding portal, QR code generation, Payment link creation, Merchant dashboard and settlement reports, GST invoice generation, MDR handling GST registration for invoice generation. RBI merchant KYC requirements. 8–14 weeks
Phase 4: Financial Services EMI / BNPL integration, Investment (mutual fund) integration, Insurance distribution, Credit score display, Cashback and rewards engine NBFC / investment advisor partnerships. SEBI compliance for investment features. PCI DSS if storing card data. 12–20 weeks
Phase 5: Scale Infrastructure Horizontal scaling, Multi-region deployment, Real-time AML, Advanced fraud ML models, Cross-border remittance (FEMA compliance), Embedded finance APIs FEMA authorisation for cross-border. RBI Authorised Dealer category if remittance volume significant. Ongoing

Security Architecture: Non-Negotiable Requirements

A wallet application holds real money and real personal data. Security is not a feature — it is the load-bearing wall of the entire product. These are the requirements that cannot be deferred:

Data Encryption

  • At rest: AES-256 encryption for all PII (name, Aadhaar number, PAN, bank account details). Separate encryption keys per user, managed in AWS KMS or HashiCorp Vault.
  • In transit: TLS 1.3 mandatory. Certificate pinning in the mobile application to prevent MITM attacks.
  • Sensitive field tokenisation: Aadhaar numbers, card numbers, and bank account numbers are never stored in plaintext. Store only the tokenised reference.

Authentication Security

  • mPIN (6-digit minimum) with 5-attempt lockout and automatic session invalidation
  • Biometric authentication (FaceID / fingerprint) via device secure enclave — biometrics never leave the device
  • Step-up authentication for high-value transactions (>₹10,000) — require mPIN even if session is active via biometric
  • Device binding — wallet linked to device fingerprint; new device login requires SMS OTP + mPIN + optional video KYC

Infrastructure Security

  • WAF (Web Application Firewall) in front of all public-facing APIs
  • Rate limiting: max 5 OTP requests per mobile number per hour; max 10 failed mPIN attempts per day before account freeze
  • Penetration testing before production launch and after every major release
  • ISO 27001 compliance for data handling; PCI DSS compliance if storing any cardholder data
  • SOC 2 Type II certification recommended for B2B wallet products where enterprise clients require it

The Wallet Development Cost Framework (2026)

Development costs for a digital wallet application in India vary substantially based on wallet type, compliance requirements, and target scale. These are indicative ranges from Bangalore-based development firms:
Wallet Type Scope Timeline Cost (INR) Cost (USD)
Closed Wallet (merchant) Single merchant. No KYC. Basic load + spend. Mobile + web. 8–12 weeks ₹12L–28L $14K–34K
Semi-Closed PPI (Small) Multi-merchant. Mobile OTP KYC. UPI optional. iOS + Android. 14–20 weeks ₹28L–65L $34K–78K
Semi-Closed PPI (Full KYC) Full Aadhaar + PAN + V-KYC. UPI interoperability. Merchant network. 20–32 weeks ₹55L–1.4Cr $66K–170K
Super-wallet / Fintech Platform Full KYC + BNPL + investments + merchant ecosystem + fraud ML. 32–52 weeks ₹1.2Cr–3.5Cr $145K–420K
Crypto / Web3 Wallet Key management, multi-chain, DeFi integration, PMLA compliance. 16–28 weeks ₹40L–1.1Cr $48K–133K
Staff augmentation (per engineer/mo) Senior full-stack or backend engineers with fintech experience. Ongoing ₹2.5L–7L/mo $3K–8.5K/mo

The cost caveat that applies more strongly to wallet development than any other product category: the cheapest wallet build is the most expensive wallet build. A wallet built without correct ledger architecture, without idempotency, without AML infrastructure, and without proper KYC state management will require a complete rebuild before it can clear regulatory audit at scale. The rebuild, when it comes, costs 3–5x the original development budget plus the regulatory risk.

Common Technical Mistakes in Wallet Development

These are the architectural decisions most commonly made wrong in first-time wallet builds, and what the correct decision looks like:

  • Using a single-entry ledger instead of double-entry: Every database with a 'balance' column that gets incremented and decremented is a single-entry ledger. It cannot reconcile. Replace with a transactions table where every row is an immutable debit or credit entry. Balance is always derived from the ledger, never stored.
  • No idempotency on transaction endpoints: A user taps 'Pay' twice. The app sends two identical requests. Without idempotency keys, the payment processes twice. This is not a theoretical failure mode — it happens on every payment product at scale, under network conditions in tier-2 and tier-3 cities.
  • Synchronous KYC checks in the transaction flow: If KYC verification blocks the transaction, and the KYC provider is slow or down, no transactions process. Move KYC status to a local cache with a TTL, checked pre-transaction. KYC re-verification happens asynchronously.
  • Storing balances in the application cache without a write-through strategy: Cache is not authoritative. The ledger is. Balance displayed to the user can be cached. Balance checked before authorising a debit must come from the authoritative ledger, with an advisory lock on the user's account.
  • Building notifications synchronously: An SMS delivery failure should never cause a transaction to fail. Notifications go on a message queue. The transaction completes; the notification retries independently until delivered or until TTL expires.

No retry and circuit breaker pattern on external API calls: Aadhaar, UPI, payment gateways — all external systems experience intermittent failures. Wallet services that make synchronous blocking calls without circuit breakers will propagate third-party failures to users as wallet failures.

The Reckonsys Position on Wallet Development

Reckonsys has built payment infrastructure and fintech products for startups at seed stage and for enterprises with established user bases. The wallet problems we work on fall into three categories: new wallet builds, architectural upgrades for wallets that have outgrown their initial design, and compliance remediation for wallet products approaching regulatory audit.

We are not the right partner for every wallet engagement. Large-scale wallet infrastructure with 50-engineer development teams and multi-year roadmaps is better served by a full-service product engineering firm with enterprise delivery infrastructure.

We are the right partner for the problem in the middle. The fintech startup that has raised a seed round and needs a production-grade wallet architecture that will survive its Series A technical due diligence. The enterprise product team that has a working wallet but needs the ledger rebuilt before transaction volume exposes the design flaw. The company that needs a wallet compliance expert in the room, not a generic software firm that has never read an RBI master direction.

Our specific capability: Ledger architecture, KYC service design, UPI integration, AML pipeline implementation, and fintech compliance review. We have built these components before, we know the failure modes, and we know the sequence in which they need to be assembled.

Conclusion: The Architecture Is the Product

Paytm's engineering did not become technically complex after they reached 350 million users. The architectural decisions that made 350 million users possible were made when the user count was in the thousands — decisions about the ledger model, about KYC state management, about the idempotency contract, about the notification pipeline.

That is the central insight of wallet development: the architecture is not the infrastructure behind the product. The architecture is the product. A wallet with a correct ledger, proper KYC state management, and AML infrastructure is a fundamentally different product from a wallet that shows a balance in a database column. The first one can be audited, scaled, and integrated into financial services ecosystems. The second one cannot.

The decisions in this guide — the ledger model, the compliance architecture, the security requirements, the service decomposition — are not advanced engineering topics for a later version. They are the foundations that every subsequent wallet feature will be built on. Get them right in sprint one.

Reconsys Tech Labs

Reckonsys Team

Authored by our in-house team of engineers, designers, and product strategists. We share our hands-on experience and practical insights from the front lines of digital product engineering.

Modal_img.max-3000x1500

Discover Next-Generation AI Solutions for Your Business!

Let's collaborate to turn your business challenges into AI-powered success stories.

Get Started