Skip to content

[DMP 2025]: AI-Powered Middleware for ONDC/OCEN API Compliance #549

@tanishk2907

Description

@tanishk2907

Ticket Contents

Description

BFSI institutions face friction in aligning internal APIs with ONDC/OCEN due to complex specs and high technical effort. This slows rollout of inclusive financial services. HarborLink aims to bridge this gap by using GenAI to auto-generate middleware, converting bank APIs into compliant standards. It enables faster onboarding of banks, reducing both time and resource costs.

Goals & Mid-Point Milestone

Goals

  • Build a parser to ingest OpenAPI/Swagger API specs from banks
  • Use GenAI to map/transform API formats to ONDC/OCEN middleware structure
  • Create a lightweight CLI or web interface for previewing and testing generated middleware
  • Containerize middleware and build sample plug-and-play deployment
  • Mid-point milestone: Demo integration of one BFSI API with ONDC using HarborLink

Setup/Installation

  • Python/Node.js environment
  • Deployment and database: Docker & Postgres
  • OpenAI API key or GenAI backend
  • Sample OpenAPI specs from mock BFSI systems

Expected Outcome

  1. HarborLink tool that accepts an input API spec and outputs ONDC/OCEN-compliant middleware

  2. CLI or basic UI for BFSI teams to upload/test their APIs

  3. Sample container deployment for quick BFSI sandbox testing

  4. One-click integration starter pack for banks

Acceptance Criteria

  1. GenAI reliably converts at least 3 different BFSI APIs

  2. Middleware passes validation against ONDC/OCEN schemas

  3. Middleware is deployable in sandbox and tested with dummy data

  4. CLI/UI enables error-free upload, preview, and deployment

Implementation Details

Use LLM (e.g., GPT-4) to parse and generate middleware mapping rules

API format: OpenAPI 3.0

Middleware logic using FastAPI/Express.js

Store config and transformations in a DB for traceability

Optional schema validation with JSON Schema libraries

Mockups/Wireframes

To be added if UI is developed – optional CLI or Swagger-based uploader

Product Name

Harborlink

Organisation Name

Sampatti Card

Domain

Fintech

Tech Skills Needed

Python, Node.js, API integration, Docker, OpenAPI, LLMs

Mentor(s)

TBD

Category

Accessibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions