confirmFraudAlert
mutation · in the family Fraud alert
What it does
Record a fraud alert as a CONFIRMED finding.
acknowledged → confirmed. The optional reason lands on the revision cause — the disposition trail.
Before you call
A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.
Capability area: Fraud review — Reviewing the fraud signals raised on staff conduct.
Roles that may call it:
- Owner
- Manager
- An API key whose scope allows
api:confirmFraudAlert
What happens
The finding is kept permanently and becomes immutable — it stays on the list as part of the group’s record.
Careful
A confirmed finding cannot be reopened or edited; the alert itself never enforces anything — follow-up actions are yours.
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
id | ID ID! | yes | The id of the record. |
revision | ID ID! | yes | The revision id you read on the record; the change is refused if an edit landed in the meantime. |
reason | String | no |
Concurrency
Send the record’s current revision from your last read as revision. A stale revision is refused as CONFLICT/REVISION_STALE — read the record again and retry with the new value.
Returns
FraudAlert FraudAlert! — A FraudAlert — the merchant triage register over the derived fraud-signal layer: a signal crossing a policy threshold raises an alert naming the signal family (void_no_sale · return_refund_abuse · discount_override_abuse · override_pattern · cash_over_short · dispute_chargeback), the normalized score (0..100) vs the crossed threshold, the implicated staff principal and/or facility, the scoring window, and the triggering records. Signals, not enforcement: the / authority layer enforces; an alert only records and asks. System-raised end to end — no create surface exists; the merchant triages: acknowledge (open → acknowledged — investigating; disarms the age-out), then confirm (a kept immutable finding — terminal but NOT doomed) or dismiss (a false positive — the reason is required). Untriaged alerts age out after 30 days. Triage identity/notes are the revision causes (History + the org-bus render actor + reason + instant — never duplicated fields). NOT searchable (sensitive review data — reached via the A17_FRAUD-gated paginated listing, never name-found); the listing pages newest-first and drops doomed (dismissed/expired) per the - law while confirmed findings stay listed.
Example request
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:
{
"id": "01900000-0000-7000-8000-debfd5e50000",
"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
{
"data": {
"confirmFraudAlert": {
"id": "01900000-0000-7000-8000-debfd5e50000",
"sysId": "FA-EXMP-0000-000F",
"type": "FraudAlert",
"caption": "Blue jeans",
"status": "confirmed",
"parentId": "01900000-0000-7000-8000-eacdfcfd0000",
"rootId": "01900000-0000-7000-8000-a1295a650000",
"createdAt": "2027-01-31T00:00:00.000Z",
"updatedAt": "2027-01-31T00:00:00.000Z",
"revisionNum": 1,
"revision": "01900000-0000-7000-8000-53c6eea90000",
"signalKind": "<signal kind>",
"score": 1,
"threshold": 1,
"reason": "Correcting a miscount.",
"periodKey": "<period key>",
"implicatedUserId": "01900000-0000-7000-8000-956939dc0000",
"logicalFacilityId": "01900000-0000-7000-8000-10c08c590000",
"expiresAt": "2028-01-31T00:00:00.000Z"
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": {
"name": "genesis",
"number": 0
},
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)NOT_FOUND/*— That record could not be found. Retry: no. (NOT_FOUND)CONFLICT/*— The record’s state, or a change made in the meantime, does not allow this; the codes are on the CONFLICT page. (CONFLICT)VALIDATION/VERSION_REQUIRED— The request did not say which app version it came from. Retry: no. (VALIDATION)