Hop til hovedindhold

Sanktionssøgninger

List sanktionssøgninger

GET /api/v1/kyc/cases/:id/sanctions-searches

Hent alle sanktions- og PEP-søgninger udført for en KYC-sag med resultater.

Scope: kyc:read

Path parametre

ParameterTypeBeskrivelse
idintegerKYC-sagens ID

Response-felter

FeltTypeBeskrivelse
idintegerSøgnings-ID
querystringSøgeordet (navn/virksomhed)
typestringType (person, company)
match_countintegerAntal matches
has_matchesbooleanOm der var matches
resultsobjectDetaljerede søgeresultater
searched_atstringTidspunkt for søgning

Eksempel

curl https://auditply.dk/api/v1/kyc/cases/42/sanctions-searches \
-H "X-API-Key: ap_live_..."
Response — 200 OK
{
"data": [
{
"id": 8,
"query": "Hans Jensen",
"type": "person",
"match_count": 0,
"has_matches": false,
"results": {},
"searched_at": "2025-01-15T09:30:00.000Z"
},
{
"id": 9,
"query": "Eksempel Holding ApS",
"type": "company",
"match_count": 0,
"has_matches": false,
"results": {},
"searched_at": "2025-01-15T09:31:00.000Z"
}
],
"meta": {
"api_version": "v1",
"timestamp": "2026-04-13T12:00:00.000Z"
}
}