How would you design a microservice to handle real-time data from an external API and trigger a payout event in Descartes Underwriting’s platform?