Notifications And Events
Overview
The Synqpay payment device provides a real-time event and notification system that allows client applications to receive important updates upon request. Events serve as callbacks, providing status updates during processes like transaction handling or other device operations.
How It Works
- All notifications and events are sent as JSON-RPC notifications (Notification request format).
- No request ID is included, and no response is expected from the client.
- Events function as callbacks, allowing applications to track progress dynamically.
- Events are pushed only upon request, rather than automatically.
Supported Transport Methods
The notification system operates only over open socket-based transport protocols, including:
- TCP
- WebSocket
- Serial Communication
HTTP-based clients do not support event notifications.
Why Use Notifications?
By leveraging this notification system, client applications can:
- Receive real-time updates when needed.
- Reduce unnecessary polling by requesting specific updates.
- Improve efficiency by proactively handling system events.