Find the answer to your question
How can I determine what type of notification I have received without looking into the body of the HTTP POST that I have received?
When you receive a notification event on your notification listener, you may want to forward the request to different handlers, based upon the notification event type. You would like to do this without reading or parsing the body of the HTTP POST.
Use the Headers in the notification HTTP POST to determine the event type. An example of the headers you will receive are shown below. Use the SOAPACTION header to determine the notification event type.
CONTENT_TYPE: text/xml; charset="utf-8"