Skip to main content
POST
/
fraud-detection
/
bulk
cURL
curl --request POST \
  --url https://api.insightai.in/fraud-detection/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "caseId": "<string>",
  "processedCount": 123,
  "fraudulentCount": 123,
  "analyticsJson": {},
  "details": [
    {
      "status": "<string>",
      "isFraudulent": true,
      "details": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

A file containing multiple transactions in CSV or JSON format.

file
file

CSV or JSON file containing multiple transactions.

Response

Bulk fraud detection response

caseId
string

String Id to represent the case analysis of the bulk transaction

processedCount
integer

Number of transactions successfully processed.

fraudulentCount
integer

Number of transactions flagged as fraudulent.

analyticsJson
object

JSON of all the transaction flagged and score for each

details
object[]
I