# Triage a fraud alert

Take the alert under investigation, then record the verdict — a confirmed finding kept forever, or a dismissal with your reason.

Compliance · a play in 3 steps.

## The steps

1. Take it under investigation — the age-out clock stops. — [acknowledgeFraudAlert](/reference/fraud-alert/acknowledgeFraudAlert/)
2. Confirm the finding — kept permanently. — [confirmFraudAlert](/reference/fraud-alert/confirmFraudAlert/)
3. Or dismiss it as a false positive — the reason is required. — [dismissFraudAlert](/reference/fraud-alert/dismissFraudAlert/)

## The calls

Every operation this use case runs, in the order it first appears, with the request and the response its reference page shows.

### acknowledgeFraudAlert

[acknowledgeFraudAlert](/reference/fraud-alert/acknowledgeFraudAlert/) — mutation · Take a fraud alert under investigation.

**Example request**

```graphql
mutation ExampleAcknowledgeFraudAlert($id: ID!, $revision: ID!, $reason: String) {
  acknowledgeFraudAlert(id: $id, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    signalKind
    score
    threshold
    reason
    periodKey
    implicatedUserId
    logicalFacilityId
    expiresAt
  }
}
```

Variables:

```json
{
  "id": "01900000-0000-7000-8000-37386ae00000",
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "acknowledgeFraudAlert": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "FA-EXMP-0000-000F",
      "type": "FraudAlert",
      "caption": "Blue jeans",
      "status": "open",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "signalKind": "<signal kind>",
      "score": 1,
      "threshold": 1,
      "reason": "Correcting a miscount.",
      "periodKey": "<period key>",
      "implicatedUserId": "01900000-0000-7000-8000-01219ad10000",
      "logicalFacilityId": "01900000-0000-7000-8000-8026f71c0000",
      "expiresAt": "2027-01-31T00:00:00.000Z"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

### confirmFraudAlert

[confirmFraudAlert](/reference/fraud-alert/confirmFraudAlert/) — mutation · Record a fraud alert as a CONFIRMED finding.

**Example request**

```graphql
mutation ExampleConfirmFraudAlert($id: ID!, $revision: ID!, $reason: String) {
  confirmFraudAlert(id: $id, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    signalKind
    score
    threshold
    reason
    periodKey
    implicatedUserId
    logicalFacilityId
    expiresAt
  }
}
```

Variables:

```json
{
  "id": "01900000-0000-7000-8000-37386ae00000",
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "confirmFraudAlert": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "FA-EXMP-0000-000F",
      "type": "FraudAlert",
      "caption": "Blue jeans",
      "status": "open",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "signalKind": "<signal kind>",
      "score": 1,
      "threshold": 1,
      "reason": "Correcting a miscount.",
      "periodKey": "<period key>",
      "implicatedUserId": "01900000-0000-7000-8000-01219ad10000",
      "logicalFacilityId": "01900000-0000-7000-8000-8026f71c0000",
      "expiresAt": "2027-01-31T00:00:00.000Z"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

### dismissFraudAlert

[dismissFraudAlert](/reference/fraud-alert/dismissFraudAlert/) — mutation · Dismiss a fraud alert as a false positive — the reason is required.

**Example request**

```graphql
mutation ExampleDismissFraudAlert($id: ID!, $revision: ID!, $reason: String!) {
  dismissFraudAlert(id: $id, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    signalKind
    score
    threshold
    reason
    periodKey
    implicatedUserId
    logicalFacilityId
    expiresAt
  }
}
```

Variables:

```json
{
  "id": "01900000-0000-7000-8000-37386ae00000",
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "dismissFraudAlert": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "FA-EXMP-0000-000F",
      "type": "FraudAlert",
      "caption": "Blue jeans",
      "status": "open",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "signalKind": "<signal kind>",
      "score": 1,
      "threshold": 1,
      "reason": "Correcting a miscount.",
      "periodKey": "<period key>",
      "implicatedUserId": "01900000-0000-7000-8000-01219ad10000",
      "logicalFacilityId": "01900000-0000-7000-8000-8026f71c0000",
      "expiresAt": "2027-01-31T00:00:00.000Z"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```
