Transaction Event
METHOD NAME transactionEvent
Description
The transactionEvent
notification is a callback triggered during transaction processing when the notifyEvents
flag in the request is set to true
. This notification provides real-time updates about the transaction's progress, allowing the client to track important steps in the payment flow.
How It Works
- The client must enable event notifications by setting
notifyEvents: true
in the transaction request. - Once enabled, the device will send transactionEvent notifications at specific transaction stages.
- These events are sent as JSON-RPC notifications (without an ID and no response required).
- The client application should listen for these notifications and react accordingly.
Parameters
object
type
TransactionEventType
The current state of the transaction