The PayPal REST APIs use webhooks for event notification.
Webhooks are HTTP callbacks that receive notification messages for events. To create a webhook in PayPal, merchants configure a webhook listener and subscribe it to events. A webhook listener is a server that listens at a specific URL for incoming HTTP
POST notification messages that are triggered when events occur. PayPal signs each notification message that it delivers to your webhook listener.