List transactions
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.
Query parameters
-
channel string
-
sub_channel string
-
limit integer
Maximum number of transactions to retrieve
-
next_cursor string
The purpose of this parameter is to retrieve the next page. This value is obtained from a previous response.
GET
/v1/transactions
curl \
-X GET https://api.fraud.ink/v1/transactions?user_id=string
Response examples (200)
{
"data": {
"transactions": [
{
"id": "string",
"score": 42,
"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:00+00:00"
}
],
"created_at": "2025-05-04T09:42:00+00:00",
"completed_at": "2025-05-04T09:42:00+00:00"
}
],
"score_avg": 42.0,
"score_med": 42.0,
"next_cursor": "string"
}
}