As far as I understand, you are trying to implement the IPN functionality of Paypal.
When your webhook receive message from Paypal you should send it back to their API endpoint and verify the returned response. There are some examples on the documentation page - https://developer.paypal.com/api/nvp-soap/ipn/IPNImplementation