Transaction Monitoring
User Journey Tracking
Track and validate user transaction events in sequence to detect out-of-order or suspicious behaviour.
POST
Submit Journey Event
The User Journey API tracks critical steps in a user’s transaction flow through defined checkpoints. It validates that expected events occur in the correct sequence and flags suspicious or out-of-order behaviour in real time.Documentation Index
Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt
Use this file to discover all available pages before exploring further.
Submit Event
Submit a user journey event for fraud assessment.Endpoint
Headers
| Header | Value | Required |
|---|---|---|
x-access-token | Your API secret key | Yes |
Content-Type | application/json | Yes |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Unique identifier for the user |
session_id | string | Yes | Identifier for the current session |
event | string | Yes | Event type: LOGIN, OTP_VERIFY, PAYMENT_INIT, PAYMENT_COMPLETE, or LOGOUT |
timestamp | string | Yes | ISO-8601 datetime of the event |
device_id | string | No | Device identifier |
ip_address | string | No | IP address during the event |
metadata.amount | number | No | Transaction amount if applicable |
metadata.currency | string | No | Currency code |
201 Created
Get Session State
Retrieve the current state and event history for a session.Endpoint
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | Identifier for the session to retrieve |
200 OK
Clear Session
Delete all stored data for a session.Endpoint
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | Identifier for the session to clear |
204 No Content
User Analytics
Retrieve fraud and risk statistics for a user across all sessions.Endpoint
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Identifier for the user |
200 OK
Health Check
Check the service health and dependency status.Endpoint
200 OK
Error Codes
| Code | Description |
|---|---|
200 | Success |
201 | Event processed successfully |
400 | Missing, malformed, or invalid fields |
401 | Authentication failed or API key missing |
403 | Insufficient permissions for this resource |
404 | Resource or endpoint not found |
429 | Rate limit exceeded — retry after cooldown |
500 | Unexpected server error |
Authorizations
Your Adhere API secret key
Body
application/json
Response
Event processed

