
The gateway service method is currently handling too much logic, resulting in significant delays. It takes 10–15 seconds to respond even for a small array of IDs (around 10 in length). At this rate, the response time will become unmanageable for larger arrays. The method needs to be refactored for better performance and scalability.
