Credential Isolation & Environment Boundary Design
Merchant API tokens, WhatsApp delivery keys, SMTP credentials, and bank verification cookies belong strictly inside encrypted server environment variables and isolated database tables—never committed into application code or exposed in public client bundles.
PostgreSQL Row-Level Security (RLS) & Token Scoping
All 23 core UPIGateway.dev operational tables run on isolated PostgreSQL infrastructure protected by 45 Row-Level Security policies and 33 tuned performance indexes. Public checkout sessions expose only sanitized display metadata (brand title, invoice amount, UPI intent payload, and masked session status)—never exposing backend secret tokens or merchant credentials.
Data Minimization Under India's DPDP Framework
- Zero card numbers, CVVs, netbanking passwords, or UPI PINs ever pass through UPIGateway.dev servers.
- Buyers authenticate exclusively inside NPCI-regulated UPI apps on their personal mobile devices.
- Only minimal reconciliation metadata (`order_id`, `amount`, 12-digit `utr`, and optional merchant receipt contact fields) is stored for invoice transparency and anti-replay defense.