Skip to main content
The Events API gives you access to the immutable audit log of all fraud-related activity on your account. Every time FraudEG’s risk engine evaluates a transaction, verifies an identity, creates a device session, triggers an alert, or records a decision, it writes an event to this log. You can query events by transaction, user, type, or time range to reconstruct exactly what happened and when — making this endpoint the foundation for compliance reporting, chargeback evidence packages, and real-time monitoring pipelines.

Endpoint

Query Parameters

string
Filter events associated with a specific transaction. Returns all event types that reference this transaction ID.
string
Filter events associated with a specific user. Useful for reviewing the full fraud history of a single account.
string
Narrow results to a single event type. Accepted values:
  • transaction.scored — Risk score computed for a transaction
  • transaction.blocked — Transaction rejected by a rule or model
  • identity.verified — Identity check completed
  • device.session_created — New device session established
  • alert.triggered — Fraud alert generated by the detection engine
  • decision.submitted — Manual or automated decision recorded
string
ISO 8601 timestamp. Only events created at or after this time are returned. Example: 2024-06-01T00:00:00Z.
string
ISO 8601 timestamp. Only events created before or at this time are returned. Example: 2024-06-30T23:59:59Z.
integer
default:"20"
Number of results to return per page. Accepted range: 1100.
string
Pagination cursor. Pass the next_cursor value from a previous response to retrieve the next page of results.

Response Fields

array
Ordered list of event objects, sorted by created_at descending.
boolean
true if additional pages of results exist beyond this response.
string | null
Opaque pagination cursor. Pass this value as the after query parameter in your next request. Returns null when you have reached the last page.

Examples

Response

Events are append-only and immutable. Once written, an event record cannot be modified or deleted. This guarantees the integrity of your audit trail and ensures that historical records remain accurate regardless of downstream changes to transactions, users, or decisions.
Use the Events API to build a complete, timestamped audit trail for compliance and chargeback evidence. When disputing a chargeback, query all events for the relevant transaction_id and export the transaction.scored, transaction.blocked, and decision.submitted events to demonstrate that your fraud controls evaluated the transaction at the time of purchase.