Suspected fraud update
The suspected fraud update updates a suspected fraud status.
Suspected fraud update occurred successfully.
Suspected fraud update failed due to a bad request.
Unauthorized.
Suspected fraud update failed, but the request was processed by the API, just not by the peer.
Suspected fraud update failed due to an unexpected error in the API.
Suspected fraud update failed due to an unexpected error in the Peer.
PATCH /fraud/suspected-fraud/{token} HTTP/1.1
Host: api.prd.combateafraude.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"status": "CONFIRMED_FRAUD"
}
{
"message": "text",
"requestStatus": {
"status": "SUCCESS",
"token": "123e4567-e89b-12d3-a456-426614174000"
}
}
Options
As demonstrated in the example request, in the URL a path parameter must be passed and PATCH
HTTP method used. The token
parameter must be a UUID that's identify a Suspected Fraud, this token can be retrieved on the Suspected Fraud Query passing query mode as LOCAL
or DELETED
. In the data
object you should include de Suspected Fraud Status must be passed using the status
property. Possible status
values ares:
CONFIRMED_FRAUD: indicates a confirmed fraud occurrence;
SUSPECTED_FRAUD: indicates a suspected fraud occurrence.
Last updated