Payment Kita - CrossChain StableCoin Payment Gateway
Case Study & Experience Analysis
Payment Kita — Product Description
Payment Kita is a hybrid payment gateway and cross-chain payment infrastructure that enables merchants to accept and process payments across multiple blockchains, tokens, and fiat systems within a single unified platform.
In simple terms:
Payment Kita is a bridge between users, merchants, blockchain networks, and traditional financial systems.
1. Tech Stack (System Architecture)
Backend Core
- Golang (Gin) or NestJS
- High-performance API services with strong concurrency handling for transaction processing
- PostgreSQL
- Stores transaction data, merchant information, and settlement records
- Redis
- Used for caching, session handling, and idempotency control
- RabbitMQ or Kafka
- Event-driven messaging for payment updates, settlement processes, and webhook delivery
Blockchain Layer
- EVM Chains (Ethereum, BSC, Polygon, etc.)
- Solana (SVM)
Smart contract components:
- Payment contracts
- Escrow and settlement logic
- On-chain event listeners for transaction validation
Interoperability Layer
- LayerZero, Chainlink CCIP, or Hyperbridge
- Enables cross-chain messaging and asset transfer
- DEX Integration
- EVM: Uniswap v3/v4
- Solana: Jupiter or Raydium
Main responsibilities:
- Token swapping
- Cross-chain routing
- Liquidity sourcing
Security Layer
- JWE or AES encryption
- Used for securing QR payloads and payment data
- Wallet signature verification
- Access control and audit logging
Frontend and Integration
- Web dashboard (Next.js or Svelte)
- Mobile applications (Flutter)
APIs are provided for:
- Merchants
- Partners
- Wallet integrations
External Integrations
- Fiat payment rails such as QRIS, Virtual Accounts, and e-wallets
- Blockchain RPC providers
- Notification systems including webhooks, email, and messaging services
2. System Flow (End-to-End)
Step 1: Create Payment
The merchant creates a payment request:
POST /create-payment
The system returns:
- payment_id
- amount
- destination_chain
- destination_token
- payment_url
- QR code or deep link
Step 2: User Payment
The user completes payment using:
- A crypto wallet
- Cross-chain payment
- Any supported token
Step 3: Routing Engine (Core Logic)
If the source chain or token differs from the destination:
- The system detects the incoming asset
- Performs token swap via DEX
- Bridges the asset to the destination chain
Step 4: On-chain Verification
Blockchain listeners monitor transactions and validate:
- Payment amount
- Sender wallet
- Target chain
Step 5: Settlement
Funds are credited to:
- Merchant wallet or internal balance system
Payment status is updated:
- SUCCESS or FAILED
Step 6: Notification
- Webhook is sent to the merchant backend
- Dashboard updates in real time
3. Main Functions
Multi-Payment Acceptance
Supports:
- Crypto (BTC, EVM chains, Solana)
- Stablecoins
- Fiat payments (QRIS, Virtual Accounts, etc.)
This allows merchants to serve a wider range of customers.
Cross-Chain Payment
Enables users to pay from one chain while the merchant receives funds on another chain.
Example:
USDT on BSC can be converted and settled as IDRX on Polygon.
Automatic Token Conversion
- Integrated with decentralized exchanges
- Supports slippage control
Users can pay with any supported token without manual conversion.
Payment Links and QR Codes
- Generates encrypted QR codes
- Provides deep links for wallet interaction
This creates a seamless payment experience similar to traditional payment gateways, but enhanced with Web3 capabilities.
Merchant Dashboard
Provides:
- Transaction monitoring
- Settlement tracking
- Analytical insights
Webhooks and API Integration
- Real-time transaction updates
- Easy integration into merchant systems
Balance and Settlement System
- Merchant balance tracking
- Withdrawal management
- Refund handling
Secure Payment Payload
QR codes and deep links contain:
- payment_id
- merchant_id
- amount
- destination_chain
- destination_token
- destination_wallet
All data is encrypted for security.
Cross-Border Payment (Future Vision)
- Enables international transactions
- Automatic conversion between currencies and tokens
- Designed to improve cross-border financial flow efficiency
Positioning
Payment Kita is more than a traditional payment gateway.
It is a hybrid payment infrastructure that combines:
- Traditional fintech payment systems
- Blockchain networks (EVM and Solana)
- Cross-chain interoperability
- Decentralized liquidity through DEX integration
Simple Analogy
If:
- Stripe or Midtrans represents fiat payment gateways
- MetaMask represents crypto wallets
Then:
Payment Kita represents a unified system that combines payment gateway functionality, decentralized exchange capabilities, and cross-chain infrastructure into one platform.
Key Strengths
- Chain-agnostic architecture
- Token-agnostic payment support
- Integration of Web2 and Web3 payment systems
- Designed as a universal payment layer for modern digital transactions
Specifications
Lead Developer
Nur Wahid Azhar
Label Tag
NginX, PostgresSQL, Go, Gin, Docker, JavaScript, Fullstack Development, Blockchain Development, Next JS, Smart Contract (Solidty), Frontend Development, React JS, Solidity, Supabase, CI / CD Github Action, Hardhat
Build Status
Production Ready
