Thanks so very much. Now I can see that there is a subscription active. Also, I added POST endpoint to get notifications and It is working,
here the code:
app.post("/v1/authorization", function (req, res) {
console.log('there is a new notification')
console.log(req.query)
res.status(200).send('ok')
})
About function subscribeHook I wrapped into a Promise, and now return data
About the last point, “accept” I have just to delete this?