AI-Powered Multi-Chain Payment Infrastructure
OrionPay Backend is a hybrid backend platform that combines NestJS microservices with a Python AI Engine to deliver intelligent, secure, and scalable payment infrastructure for modern financial applications.
- Multi-chain payment processing
- Bulk payment execution
- Voice-initiated transactions
- AI-powered fraud detection
- AI price analysis and routing
- Payment modules marketplace
- Smart transaction monitoring
- Wallet and account management
Frontend Applications
โ
โผ
NestJS API
โ
โผ
Python AI Engine
| Technology | Purpose |
|---|---|
| NestJS | API and business logic |
| Python | AI and machine learning services |
| FastAPI | AI service APIs |
| PostgreSQL | Primary database |
| Redis | Caching and queues |
| Docker | Containerization |
| Blockchain SDKs | Multi-chain integrations |
orionpay-api/
โ
โโโ services/ # Microservices
โ โโโ api/ # NestJS API service
โ โ โโโ src/ # API source code
โ โ โ โโโ app.controller.ts
โ โ โ โโโ app.service.ts
โ โ โ โโโ app.module.ts
โ โ โ โโโ main.ts
โ โ โโโ test/ # API E2E tests
โ โ โโโ dist/ # Compiled API output
โ โ โโโ package.json # API dependencies
โ โ โโโ tsconfig.json # TypeScript configuration
โ โ โโโ nest-cli.json # NestJS CLI configuration
โ โ
โ โโโ ai/ # Python AI Engine service
โ โโโ main.py # FastAPI entry point
โ โโโ models/ # AI/ML models
โ โโโ services/ # AI services (fraud detection, routing)
โ โโโ requirements.txt # Python dependencies
โ
โโโ docker/ # Docker configuration files
โ โโโ api.Dockerfile
โ โโโ ai.Dockerfile
โโโ docs/ # Documentation
โโโ scripts/ # Utility scripts
โโโ docker-compose.yml # Docker compose configuration
โโโ .env # Root environment variables
โโโ .env.example # Example environment variables
โโโ README.md
- Node.js 20+
- Python 3.11+
- Docker
- Docker Compose
git clone <repository-url>
cd orionpay-backend
docker-compose up --buildCreate a .env file:
DATABASE_URL=
REDIS_URL=
JWT_SECRET=
OPENAI_API_KEY=
BLOCKCHAIN_RPC_URL=docker-compose upRun in detached mode:
docker-compose up -dnpm run test
npm run test:e2eAPI documentation is available through Swagger:
http://localhost:3000/api/docs
- JWT authentication
- Rate limiting
- Fraud detection engine
- Transaction monitoring
- Role-based access control
MIT License