PaySG uses events to notify you when something interesting happens in your payment service. When an interesting event occurs, PaySG creates a new Event object. For example, when a payer successfully completes payment on PaySG, PaySG creates a payment.succeeded event.
PaySG also has a separate webhooks system for sending the Event objects directly to an endpoint on your server. You can manage webhooks in your payment service settings. Learn how to listen for events so that your integration can automatically trigger reactions.