triggerAction

Reports a user action event to the Account Protection SDK.

Parameters

actionType

A string representing the action name, predefined in your Account Protection configuration.

callback

A callback invoked upon success or failure of the event submission.


Reports a user action event to the SDK, with optional context and transaction data.

Parameters

actionType

A string representing the action name, predefined in your Account Protection configuration.

options

Optional parameters associated with the action event.

transactionData

Optional transaction metadata (e.g., amount, currency).

callback

A callback invoked upon success or failure of the event submission.