Interface: ActionEventOptions
Properties
correlationId
• Optional correlationId: string
Any ID that could help relate the action with external context or session
claimedUserId
• Optional claimedUserId: string
User ID of the not yet authenticated user, used to enhance risk and
trust assessments. Should not contain any sensitive data in plain text. Once the user is authenticated,
drs.setAuthenticatedUser() should be called.
claimedUserIdType
• Optional claimedUserIdType: string (enum)
One of: ['email', 'phone_number', 'account_id', 'ssn', 'national_id', 'passport_number', 'drivers_license_number', 'other'].
Specifies the type of value provided in the claimedUserId field. This is especially important when claimedUserId contains a hashed value. The claimedUserIdType can be included only when claimedUserId is provided.
transactionData
• Optional transactionData: TransactionData
A transaction data-points object for transaction-monitoring
customAttributes
• Optional customAttributes: Record<string, string | number | bool>
Custom attributes add context to an action but must match the schema defined in the Portal. Invalid attributes are ignored.