How abhishekmishra9051/getway works
UPI Gateway is a self-hosted, multi-merchant UPI payment platform. Its main flow is merchant API or hosted-checkout order creation, payment-account selection and UPI payment, followed by automated or manual verification and webhook notification. The map also captures account management, administration, sandbox use, and browser installation. Relationships are limited to README-documented behavior and source-index references or excerpts; several controller and routing details were not sampled, so their internal call paths are not asserted.
Main entry points: OrderService.php Order Service · TransactionDebuggerController.php Transaction Debugger · OrderApiController.php Order API · WebhookOutboxService.php Webhook Outbox
Components 20
Payments
- Order API
app/Http/Controllers/Api/OrderApiController.php - Hosted Checkout
app/Http/Controllers/CheckoutController.php - Order Service
app/Services/OrderService.php - Orders
app/Models/Order.php
Verification
- Payment Verification
app/Services/OrderService.php - Provider Verifiers
app/Services/Verifiers - Manual UTR Review
app/Services/Verifiers/ManualVerifier.php
Webhooks
- Webhook Outbox
app/Services/WebhookOutboxService.php - Webhook Events
app/Models/WebhookOutbox.php - Webhook Delivery
app/Jobs/SendWebhook.php - Webhook History
app/Services/WebhookHistoryService.php
Merchant and Admin
- Account Management
app/Http/Controllers/PaymentAccountController.php - Payment Accounts
app/Models/PaymentAccount.php - Merchant Dashboard
app/Http/Controllers/OrderController.php - Admin Console
app/Http/Controllers/Admin/AdminController.php - Transaction Debugger
app/Http/Controllers/Admin/TransactionDebuggerController.php
Platform
- API Authentication
app/Http/Middleware/AuthenticateApiKey.php - Browser Installer
app/Http/Controllers/InstallController.php - Installation Manager
app/Support/InstallationManager.php
Other components
- Merchant
Connections 20
- Merchant → Order API: submits orders
README.md - Merchant → Hosted Checkout: pays through
README.md - Order API → Order Service: creates or checks
app/Http/Controllers/Api/OrderApiController.php - Order Service → Orders: persists orders
app/Services/OrderService.php - Order Service → Payment Accounts: selects accounts
app/Services/OrderService.php - Merchant → Account Management: manages accounts
README.md - Account Management → Payment Accounts: maintains accounts
- Merchant → Merchant Dashboard: manages payments
README.md - Admin Console → Order Service: reviews activity
app/Http/Controllers/Admin/AdminController.php - Transaction Debugger → Webhook History: loads webhook history
app/Http/Controllers/Admin/TransactionDebuggerController.php - Transaction Debugger → Orders: inspects orders
app/Http/Controllers/Admin/TransactionDebuggerController.php - Order Service → Payment Verification: checks payments
README.md - Payment Verification → Provider Verifiers: uses provider checks
app/Services/OrderService.php - Payment Verification → Manual UTR Review: supports UTR review
- Payment Verification → Webhook Outbox: queues notifications
app/Services/OrderService.php - Webhook Outbox → Webhook Events: records events
- Webhook Events → Webhook Delivery: drives delivery
app/Jobs/SendWebhook.php - Webhook Delivery → Webhook History: records delivery
app/Jobs/SendWebhook.php - Merchant → API Authentication: authenticates API
README.md - Browser Installer → Installation Manager: runs setup
app/Http/Controllers/InstallController.php