PUT
/
reports
/
{id}
cURL
curl --request PUT \
  --url https://api.reporta.ng/api/v1/external/reports/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "fraudType": "hacker",
  "fraudReason": "<string>",
  "attachments": [
    "<string>"
  ],
  "identifiers": [
    {
      "label": "account",
      "value": "<string>"
    }
  ],
  "showUploaderInfo": "true"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "listingStatus": "listed",
    "exitedListAt": "2023-11-07T05:31:56Z",
    "exitListReason": "<string>",
    "status": "published",
    "fraudType": "<string>",
    "fraudReason": "<string>",
    "reportedBy": "<string>",
    "companyId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "identifiers": [
      {
        "label": "<string>",
        "value": "<string>"
      }
    ]
  }
}
If your identifier type is account, the value should be formatted as accountNumber_bankSlug (e.g., 1234567890_bca).You can obtain the bank slugs by:

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

ID of the report to update

Body

application/json

Details of the report to update

The body is of type object.

Response

200
application/json

Fraud report updated successfully

The response is of type object.