How to integrate webhook on LightSpeed PoS ?

in Development
We need merchant transaction billing details in our app. How can we enable webhook so that all the billing transaction details are passed on to us?
We need merchant transaction billing details in our app. How can we enable webhook so that all the billing transaction details are passed on to us?
3 comments
Retail has no webhooks, although E-Com does. Crazy reality, since nowadays the vast majority of cloud retail solutions support webhooks. With Retail the alternative would be to poll Retail from the outside using the Retail API.
We are looking to get the receipt details as soon as the merchant processes billing to send it to customer.
What's the best way to do that if there is no webhook?
Since retail doesn't support webhooks, you would have a to poll the /Sale endpoint. The best way would be to add some query parameters like:
?timeStamp>=<the time you last polled>&completed=true
or maybe completedTime=<time that you last polled>, but that may be tricky because that completeTime isn't stable.
Matt Anger
https://spectraretail.com/