Event Objects

The event object that is passed in to the event handler methods has multiple fields.

The Event Object Fields

Event Object Fields describes the event object fields.

Table 1. Event Object Fields
Field Description Before Send to Gateway Response from Gateway
operation The operation being performed by the payment gateway. Yes Yes
eventType The event type. This corresponds to the Event Handler method being invoked. Yes Yes
engineRequest The request message received from the Engine. Yes Yes
engineResponse The response message to be sent to the Engine. No Yes
merchantAccount The merchant account that has been selected for this request. Yes Yes

The following sections describe additional vendor-specific fields that can extend the base event object.