Skip to main content
POST
/
fraud-detection
cURL
curl --request POST \
  --url https://api.insightai.in/fraud-detection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transactionId": "<string>",
  "amount": 123,
  "timestamp": "2023-11-07T05:31:56Z",
  "accountDetails": {
    "accountId": "<string>",
    "accountType": "<string>"
  }
}'
{
  "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

application/json

Transaction details to analyze for fraud.

transactionId
string
required

Unique identifier for the transaction.

amount
number
required

Transaction amount.

timestamp
string<date-time>
required

Timestamp of the transaction.

accountDetails
object
required

Response

Fraud detection response

status
string

Status of the fraud detection process.

isFraudulent
boolean

Indicates whether the transaction is flagged as fraudulent.

details
string

Detailed explanation of the fraud detection result.

I