top of page

The Invisible Architecture of India's Digital Economy

  • Writer: Rushi Joshi
    Rushi Joshi
  • Apr 23
  • 5 min read

The Invisible B2B Layer Powering Every App You Actually Use


You've never heard of the company that processed your UPI refund, verified your Aadhaar, and flagged your loan application as fraudulent — all in under 200 milliseconds. Yet without it, the fintech app you trust would crumble in an afternoon.

This is the world of B2B middleware infrastructure: the unsexy, unglamorous, and almost impossibly sticky layer that holds India's digital economy together. No consumer brand. No viral campaign. Just pure, load-bearing plumbing.


▸ What Is B2B Middleware and Why Should You Care

Middleware is software that sits between the raw data layer and the consumer-facing application. Think of it as the translator, enforcer, and traffic cop all in one. When you apply for a Buy Now Pay Later loan on Flipkart, at least four or five invisible B2B companies are firing API calls in parallel — one is pulling your bank statement, another is verifying your PAN, a third is running a fraud score, and a fourth is checking your repayment history across lenders.

None of these companies have Instagram pages. All of them have multi-year enterprise contracts.

India's digital public infrastructure — UPI, Aadhaar, Account Aggregator, OCEN, DigiLocker — is extraordinary, but it is not plug-and-play for the average fintech startup. That gap between raw government API and production-grade fintech product is where companies like Setu, Perfios, Bureau, Signzy, and Karza Technologies live and thrive.


▸ India's Digital Stack: The Government Built the Roads, Startups Built the Engines

India's India Stack is genuinely world-class. UPI processed 18,388 crore transactions worth Rs. 246 lakh crore in FY 2024-25 alone (Source: NPCI, 2025). Aadhaar has crossed 140 crore enrollments and enables over 100 crore authentications per year (Source: UIDAI, 2024). The Account Aggregator framework, launched under RBI regulations, had onboarded over 1.13 crore consented data-sharing links by 2024 (Source: Sahamati, 2024).

But here is the thing: the government builds the pipes. It does not build the pumping stations.

Setu, backed by Pine Labs, built an API abstraction layer that lets any developer connect to NPCI's UPI rails, NACH mandates, and bank statement APIs without managing the compliance nightmare directly. Perfios, which crossed a valuation of $900 million in its 2023 funding round, processes over 1 billion financial transactions annually to generate credit decisioning intelligence (Source: Perfios, 2023). Bureau runs device intelligence and fraud detection infrastructure used by lenders to assess whether the person applying for a loan is who they claim to be.

These are not niche players. They are critical path infrastructure.


▸ The Economics of Invisible Businesses: Why API Companies Print Money Quietly

The business model is deceptively simple and operationally brutal to replicate. You charge per API call, per verified report, or via a revenue-share on each loan disbursed. Margins look thin individually — a few paisa to a few rupees per transaction — but multiply that across hundreds of millions of calls per month and the economics become extraordinary.

More importantly, the switching costs are brutal for customers. Once a bank or NBFC has integrated your fraud scoring API into their loan origination system, rebuilt their compliance workflows around your output format, and trained their credit team on your risk signals, the cost of switching vendors is not just a technical migration. It is an operational earthquake. Gartner estimates enterprise software switching costs at 15–25% of total contract value on average (Source: Gartner, 2022), but for deeply embedded financial infrastructure the real number is almost certainly higher.

This is what investors mean when they talk about moats. Perfios reportedly earns revenue from over 900 financial institutions across India and Southeast Asia (Source: Perfios, 2023). That is 900 integration points, 900 compliance validations, 900 sets of institutional memory. Each one is a lock on the door.

The broader market context makes this even more compelling. India's fintech sector is projected to reach $2.1 trillion in AUM by 2030 (Source: NITI Aayog, 2023). Every rupee of that market needs to be originated, verified, underwritten, and serviced — and nearly all of that workflow flows through B2B infrastructure APIs.


▸ India-Specific Policy Tailwinds Turbocharged This Entire Sector

Government policy did not just create the infrastructure — it actively mandated the conditions that made B2B middleware companies indispensable.

The RBI's Digital Lending Guidelines of 2022 require lenders to disclose all technology service providers in the lending chain and hold them accountable for data practices (Source: RBI, 2022). This created a compliance requirement that forced every NBFC and digital lender to formally contract with identity verification, fraud detection, and data processing vendors — turning what was previously an optional integration into a regulated necessity.

MeitY's Data Empowerment and Protection Architecture (DEPA) and the Account Aggregator framework created an entirely new category of licensed data fiduciaries. Companies like Anumati and Finvu built AA-client infrastructure that now earns a toll on every consented financial data-sharing event in the country (Source: MeitY, 2023).

The DPIIT-recognised startup ecosystem added fuel: over 1,457 fintech startups are recognised under the Startup India program as of 2024, and a disproportionate number of them need the same set of underlying services — KYC, fraud scoring, bank connectivity, and credit bureau pulls (Source: DPIIT, 2024). Each new fintech entrant is a new customer for the infrastructure layer.


▸ How the West Built This Layer and What India Did Differently

This model is not uniquely Indian, but India's version has a distinctive character. In the United States, Plaid built bank connectivity infrastructure that Visa attempted to acquire for $5.3 billion before the deal collapsed under antitrust scrutiny (Source: US DOJ, 2021). Stripe, valued at $65 billion, is fundamentally a B2B infrastructure company that powers payments for millions of businesses while remaining invisible to end consumers (Source: Stripe, 2023). Twilio built the communication API layer that powers OTP verification for half the internet.

What India did differently is that the government created open, standardised public infrastructure rather than leaving it to private monopolies. This lowered the barrier to entry for B2B companies building on top of it but simultaneously raised the bar on differentiation. You cannot win on access alone because access is democratised. You win on reliability, compliance depth, and the quality of the intelligence you add on top of raw data.

That is why companies like Bureau and Karza are not just pipe companies. They are intelligence companies that use the pipes as input.


▸ What Comes Next: The Stack Keeps Growing Deeper

The next wave is already forming. ONDC — the Open Network for Digital Commerce — is creating the same kind of open protocol infrastructure for e-commerce that UPI created for payments. The National Health Authority's Ayushman Bharat Digital Mission is building health data infrastructure that will need its own B2B middleware ecosystem. The RBI's proposed Unified Lending Interface is explicitly designed to be a credit-flow equivalent of UPI, and it will need fraud detection, underwriting intelligence, and collection workflow APIs the moment it scales.

Every new public digital infrastructure layer is simultaneously a government investment in national capability and a market creation event for private B2B companies willing to build the intelligent layer on top.

Investors are paying attention. The fintech infrastructure category attracted over $800 million in funding in India between 2021 and 2024 (Source: IBEF, 2024). Strategic acquisitions are accelerating: Pine Labs acquiring Setu, Experian acquiring a stake in Perfios, global credit bureaus circling India's alternative data players.

The pattern is clear. Build invisible infrastructure. Embed deeply. Become impossible to remove.


Here is the thought that should keep you up tonight: the most valuable company in India's next decade of digital growth might be one whose name you will never once see on your phone screen — and that anonymity is not a bug, it is the entire business model.

Comments


bottom of page