AEPS Software Development: What a Reliable AEPS Platform Needs
What goes into AEPS software: retailer and owner dashboards, biometric device flows, a wallet ledger, pending transactions, reconciliation and deployment.
AEPS (Aadhaar Enabled Payment System) lets a customer withdraw cash, check a balance or get a mini statement at a local retailer using only their Aadhaar number and a fingerprint. For the businesses that run these retailer networks, the software is the product: the retailer app or portal, the owner dashboard, the wallet and commission system, and the backend that talks to the AEPS provider. I have built an AEPS and payments owner dashboard with a separate backend service, and this guide covers what I would check in any AEPS software project before writing the first screen.
How the pieces fit together
Most AEPS platforms do not connect to NPCI directly. They work through a sponsor bank or a licensed API provider, and your software sits on top of that connection. A typical platform has four parts: a retailer interface (web portal or Android app) where the agent serves the customer, an owner or admin dashboard where the business manages retailers, distributors, commissions and reports, a backend API that holds the business rules and calls the provider, and a database that is the single record of every transaction and every wallet movement.
Keeping the retailer app and the dashboard on one shared API is important here. If commission rules or transaction limits are written in two places, they will drift apart. I explain that pattern in more detail in one API for a mobile app and a web dashboard.
1. Treat the biometric device flow as its own feature
The fingerprint is captured by a UIDAI-certified registered device running an RD service on the retailer's phone or computer. Your app asks the RD service for a capture, receives an encrypted PID block, and passes it to the provider. Your server should never try to read, store or log that block. Many retailer complaints start here: the RD service is missing, the device certificate has expired or the capture quality is too low. Show a clear message for each case, and keep the supported device list editable without releasing a new app. Device rules change over time, so check your provider's current requirements.
2. Plan for retailer authentication
Providers commonly require the retailer to authenticate with their own fingerprint before they can transact, often once per day. Model this as a proper state in your backend: when the retailer last authenticated, with which device, and whether the provider accepted it. Block transactions cleanly until it is done, instead of letting every request fail with a vague provider error.
3. Build the wallet as a ledger, not a balance field
Retailers and distributors usually hold a wallet on your platform, and commissions are credited to it after each successful transaction. Never update a single balance column directly. Record every movement as a ledger entry: transaction, commission, reversal, manual adjustment, payout. The balance is the sum of those entries. Every rupee becomes traceable, disputes are easy to answer, and two simultaneous requests cannot corrupt a balance. Commission plans (by slab, service and user level) should be data the owner can edit in the dashboard, not values hard-coded in the API.
4. Pending is a real status
The hardest part of AEPS software is the transaction that is neither clearly successful nor clearly failed. A provider call times out, the network drops, or the response says the result is pending. If your system marks it as failed, the customer may already have been debited at the bank. If it marks it as successful, you may pay commission on money that never moved.
Give every transaction a unique reference created by your system before the provider is called, and store it first. Save the transaction as pending, then update it only from a clear response, a provider callback, or a status enquiry. Run a scheduled job that re-checks pending transactions until they are final. Show retailers the real status so they do not repeat a withdrawal that went through. The same principle applies to bank payout and beneficiary APIs, which I cover in the bank API integration checklist.
5. Make callbacks safe to receive twice
Providers often send a callback when a transaction completes, and some will retry it. Verify where it came from using the method your provider documents (a signature, a shared secret, a source IP list or all of these), look up the transaction by its reference, and process it only once. A repeated callback should return success without crediting a second commission.
6. Reconcile every day
Your records and the provider's records must match. Import the provider's daily report or use their reporting API, compare it with your transactions by reference, and list every difference in the owner dashboard: transactions you show as pending but the provider shows as successful, amounts that do not match, and reversals that have not been applied to the wallet. A mismatch found the next morning is easy to fix; found at month end, it is not.
7. Keep sensitive data out of your database
Store what you need to run and audit the business, and nothing more. Do not store biometric data. Avoid storing full Aadhaar numbers; keep a masked form for display and follow the guidance from your provider and compliance advisor on what may be retained. Keep provider API keys on the server only, never inside the Android app or the browser. Encrypt sensitive fields at rest and limit which admin roles can see customer-level details.
8. Roles and limits in the backend
An AEPS business usually has an owner or admin, distributors and retailers, sometimes with more levels in between. Each role should see only its own network, and every permission check should happen in the API, not only in the interface. Limits, service switches and suspensions should apply instantly, without a code change.
9. Deployment and IP whitelisting
Many providers whitelist the server IP address that calls their API. That means your backend needs a stable outbound IP, which is simple on your own VPS and harder on some serverless platforms. A setup that works well is a Next.js dashboard and a separate API service, deployed as Docker containers with Coolify behind Cloudflare. This is how the AEPS dashboard project was deployed, and the steps are in my guide to deploying Next.js and an API with Coolify. Keep a UAT environment that points to the provider's test system, so new features are tested there before they reach real retailers.
A short checklist before launch
Before going live, confirm that: every transaction gets your own reference before the provider is called; pending transactions are re-checked automatically; callbacks are verified and idempotent; wallet balances come from a ledger; daily reconciliation runs and shows differences; biometric data is never stored or logged; provider keys live only on the server; roles are enforced in the API; the server IP is whitelisted in UAT and production; and the owner dashboard shows volume, success rate, pending transactions and commission by date.
Planning a new AEPS portal or fixing an existing one? I build the dashboards, backend and provider integration as one system, see my AEPS and bank API integration service, or send a short brief and I will reply with a plan.
Case studies using this approach
Hire me for this
Fintech & bank API integration
Bank and payment APIs are strict: encrypted payloads, signed requests, UAT certification and no room for silent failures. This is…
Learn more →ServiceNext.js & React development
I build fast, SEO-friendly web applications with Next.js, React and TypeScript: SaaS products, client portals, admin dashboards…
Learn more →ServiceNode.js, PHP & API development
The backend is where business rules live. I design MySQL schemas and build REST APIs in Node.js/Express or PHP that web and…
Learn more →