What are Events?
Events represent user actions and system activities that occur within your application. Each event captures who performed the action, what they did, when it happened, and from which device and location. Events are the foundation of fraud detection, compliance monitoring, audit trails, and behavioral analytics.Key Features
π Fraud Detection
Detect suspicious patterns like unusual login locations, multiple failed authentication attempts, rapid credential changes, or abnormal transaction behaviors.π Behavioral Analytics
Build user behavior profiles, identify anomalies, and detect account takeovers by analyzing event sequences and patterns.β Compliance & Audit Trails
Maintain detailed audit logs of all user activities for regulatory compliance (GDPR, SOC 2, PCI-DSS) and internal investigations.π€ Auto Entity Creation
Automatically create person or company entities when events are received with tax ID information, streamlining onboarding workflows.π± Device Integration
Automatically register and track devices when events include device information, enabling device-based fraud rules.Event Schema
Each event record contains:Core Fields
eventType- Type of event (see Event Types below)userId- Your user identifierentityId- gu1 entity UUIDentityExternalId- Your external entity IDtaxId- Tax identification number (CPF, CNPJ, etc.)timestamp- When the event occurred (ISO 8601)
Device Information
deviceId- Unique device identifierdeviceDetails- Full device specifications (platform, OS, manufacturer, model, etc.)
Location & Network
ipAddress- IP address of the requestcountry- ISO 3166-1 country codeisVpn- VPN detection flagisProxy- Proxy detection flagisNewDevice- Whether this is the first time seeing this device
Event-Specific Data
failedAttemptsCount- Failed authentication attemptsdestinationAccountId- Destination account for transfersdestinationCuit- Destination CUIT for transferspreviousValue- Previous value (for change events, hashed)metadata- Additional event-specific data
Metadata
userAgent- Browser user agent stringmetadata- Flexible object for custom data
Event Types
We support 41 different event types across 11 categories:Authentication (4 types)
LOGIN_SUCCESS- Successful loginLOGIN_FAILED- Failed login attemptLOGOUT- User logoutTOKEN_GENERATED- Auth token generated
Credential Changes (5 types)
PASSWORD_CHANGE- Password successfully changedPASSWORD_CHANGE_FAILED- Failed password changeEMAIL_CHANGE- Email address changedPHONE_CHANGE- Phone number changedPIN_CHANGE- PIN changed
Account Management (5 types)
ACCOUNT_LINKED- Bank account linkedCONTACT_CREATED- Contact createdCONTACT_DELETED- Contact deletedADDRESS_CHANGED- Address updatedDEVICE_ADDED- New device addedDEVICE_DELETED- Device removed
Email Management (2 types)
EMAIL_CREATED- Email createdEMAIL_ELIMINATED- Email eliminated
Navigation (1 type)
NAVIGATION- Page/screen navigation
Transfers (3 types)
TRANSFER_SUCCESS- Successful transferTRANSFER_FAILED- Failed transfer attemptTRANSFER_SCHEDULED- Transfer scheduled
Account Balance (2 types)
BALANCE_CHECK- Balance checkedBALANCE_CHECK_FAILED- Balance check failed
Account Access (2 types)
ACCOUNTS_VIEW- Accounts viewedACCOUNTS_VIEW_FAILED- Accounts view failed
Transaction History (2 types)
TRANSACTIONS_VIEW- Transactions viewedTRANSACTIONS_VIEW_FAILED- Transactions view failed
Recipients (3 types)
SEARCH_RECIPIENTS- Recipients searchedSEARCH_RECIPIENTS_FAILED- Recipients search failedSCHEDULE_RECIPIENT_FAILED- Recipient scheduling failed
Profile Management (2 types)
PROFILE_VIEW- Profile viewedPROFILE_UPDATED- Profile updated
Messages (2 types)
MESSAGES_VIEW- Messages viewedMESSAGES_VIEW_FAILED- Messages view failed
Account Holders (2 types)
ACCOUNT_HOLDERS_VIEW- Account holders viewedACCOUNT_HOLDERS_VIEW_FAILED- Account holders view failed
Alias Management (4 types)
ALIAS_VIEW- Alias viewedALIAS_VIEW_FAILED- Alias view failedALIAS_CHANGE- Alias changedALIAS_CHANGE_FAILED- Alias change failed
Other (1 type)
OTHER_EVENT- Custom/generic event
Auto Entity Creation
Events can automatically create person or company entities when:- You include
taxIdin the event - You add
?withAutoEntity=truequery parameter - The entity doesnβt exist yet
Device Registration
When events includedeviceId and deviceDetails, devices are automatically registered and associated with the entity. This enables:
- Device fingerprinting
- Multi-device detection
- Location-based fraud rules
- Device behavior analysis
Quick Start
1. Track Login Event
2. Track Transfer Event
3. Query Events
Best Practices
Always Include Entity Identifiers
Provide at least one of:entityId, entityExternalId, or taxId to link events to entities.
Use Consistent User IDs
Use the sameuserId across all events for a user to build accurate behavioral profiles.
Include Device Information
Always senddeviceId and deviceDetails when available to enable device-based fraud detection.
Timestamp Precision
Use ISO 8601 timestamps with timezone information for accurate event ordering and time-based analysis.Structured Metadata
Use themetadata field for event-specific information but keep it structured and consistent across similar event types.
Event Type Selection
Choose the most specific event type available. UseOTHER_EVENT only when no specific type matches.
Failed Event Tracking
Always track both successful and failed events (e.g.,LOGIN_SUCCESS vs LOGIN_FAILED) for comprehensive fraud detection.