Polling

Explanation of polling

When you enable a webhook event to be Polling, it means that the event call to your endpoint will be repeated until you reply that the polling can be finished, or the POS user manually cancels the process.

You can also reply with a message to display on the POS screen while your process is still running.

Example

Request
Let’s imagine a line is added to the session, and the addSessionLine event is configured to be Polling.

Response (continue polling)
In the response, you can tell the POS that polling is done, but you can also opt to return a status update message

Response (finish polling)
In the response, you can tell the POS that polling is done, but you can also opt to return a status update message