Skip to content

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

Example

Notification

1
2
3
4
5
6
7
{
  "jsonrpc": "2.0",
  "method": "transactionEvent",
  "params": {
    "type": "TIP_SELECTION"
  }
}