there is a notify symfony action (see inside controllers folder). You just have to add a payum action that can handle the callback. The request params are available there.