How to integrate webhook on LightSpeed PoS ?

beejek2020beejek2020 Member Posts: 2

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

  • gregaricangregarican Member Posts: 869 

    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.

  • beejek2020beejek2020 Member Posts: 2

    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?

  • mattangermattanger Member Posts: 103 ✭

    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/

Sign In or Register to comment.