List all transactions for a user, specified by user_id. Optionally filter by channel and sub_channel. When the limit parameter is used, the results will be paginated and the most recent transactions will be presented first. The cursor attribute should be used to retrieve the next page.
GET
/v1/transactions
curl \
--request GET 'https://api.fraud.ink/v1/transactions?user_id=string' \
--header "X-Api-Token: $API_KEY"
Response examples (200)
{
"data": {
"transactions": [
{
"id": "string",
"score": 42,
"score_reasons": "string",
"duplication_potential": 42.0,
"data": {
"channel": "string",
"sub_channel": "string",
"project_source": "string",
"project_sub_source": "string",
"user_id": "string",
"project_type": "survey",
"project_id": "string",
"targeted_country": "string",
"custom_tags": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"redirect_url": "string",
"tx_ref_id": "string",
"ext_survey_source": "lucid",
"ext_survey_id": "string",
"brand_image_url": "string",
"expected_ip": "string",
"expected_user_agent": "string",
"user_demographic": {
"age": 42,
"gender": "male",
"annual_household_income_usd": 42
}
},
"state_transitions": [
{
"termination_reason": "quota",
"state": "completed",
"ts": "2025-05-04T09:42:00Z"
}
],
"created_at": "2025-05-04T09:42:00Z",
"completed_at": "2025-05-04T09:42:00Z"
}
],
"score_avg": 42.0,
"score_med": 42.0,
"next_cursor": "string"
}
}