Personal Learning Project

Payment Gateway
for Developers

A full-stack educational payment platform built with Next.js, Prisma, and PostgreSQL. Features dual dashboards, P2P transfers, and a simulated bank processor. 🚀

0+
API Endpoints
0ms
Avg Response
0%
Success Rate
Amount₹2,499.00
StatusReady

What's Inside? 🎁

Everything you need to understand modern payment systems

Payment Processing

Create, confirm, cancel, and refund payment intents with a Stripe-inspired API. Includes webhook callbacks and idempotency keys.

User Wallets

Full wallet system with balance tracking, transaction history, and simulated bank transfers. Add money, check balance, view history.

P2P Transfers

Send money to other users instantly with phone number lookup. Real-time balance updates and transaction tracking.

Rate Limiting

Production-ready rate limiting on all API endpoints. Configurable windows and request limits per user/IP.

Dual Auth System

Separate authentication flows for users (phone login) and merchants (API keys + dashboard access). Built with NextAuth.

Type-Safe & Modern

Built with TypeScript, Prisma ORM, and Next.js 16 App Router. Fully typed API responses and database queries.

Built With ⚡

Modern tech stack for learning and production

⚛️Next.js 16
📘TypeScript
🔷Prisma
🐘PostgreSQL
🔐NextAuth
🎨Tailwind CSS
Turborepo
shadcn/ui

Try It Out 🎮

Login with test credentials and explore the platform

User Account

Phone:1111111111
Password:password

Merchant Account

Phone:3333333333
Password:password

👆 Click the buttons above to get started!