You need to have a method that can accept a HTTP POST request. Typically this is done by accessing the $_POST array.
This is what a very simple implementation of the callback handler looks like in PHP, and is ok for illustrating how callbacks can be setup.