Game Topup Middleware API
Software Engineer | HeyGames • Architected a scalable Laravel-based middleware API to bridge multiple merchants with diverse game top-up providers using a modular adapter pattern, significantly reducing integration time for new providers. • Engineered a resilient transaction lifecycle by implementing balance reservation and database locking mechanisms to ensure concurrency safety and data integrity during high-volume periods. • Optimized high-concurrency order execution via Redis and Laravel Horizon, managing asynchronous processing, intelligent retry logic, and automated merchant callbacks. • Strengthened platform security by designing a multi-layered request flow featuring JWT authentication, IP whitelisting, and granular rate limiting. • Developed a sophisticated status reconciliation engine using a hybrid of webhooks and scheduled polling to maintain 100% synchronization between providers and merchants. • Implemented centralized logging and error classification to automatically distinguish between user errors and provider-side failures, enabling automated failover and smarter retry strategies. • Managed dynamic, multi-currency pricing engines and AWS S3-backed media handling to support merchant-specific denominations and localized digital assets.

