Skip to main content

Service Documentation: "Post Risk"

WeThis wouldservice like to be notified for session that were fraud from your end, this API allowallows you to sendsubmit us an APIa request to updateprocess usand assess the risk associated with a specific transaction or activity. The request will contain relevant information about fraudthe sessions.transaction Alternatively,or can be sendactivity, as excelwell fileas overany email.other data necessary to conduct an accurate risk assessment. Upon receiving the request, the system will analyze the provided data using various risk assessment models and algorithms to determine the likelihood that the transaction is fraudulent or represents some other type of risk.

Risk

Service Overview

  • Service Name: Post risk
  • URL{URL_Base}/api/v1/risk
  • Method: POST
  • Functionality:  

Request Parameters:  

  • cid
  • csid:  
  • userID:  
  • additionalData

Response Structure

The API responds with a JSON object listing the risk levels configured within the system. Each entry in the response includes:

  • errorMessage:  
  • score:  
  • verifiedAction
  • ivScore
  • success
  • indicators

Example Response

 

{
  "errorMessage": "string",
  "score": 0,
  "verifiedAction": true,
  "ivScore": 0,
  "success": 0,
  "indicators": {}
}

Example CURL Request

To query the risk for a specific project, utilize the following curl command:

curl -X 'POST' \
  'https://fraud-detector-api.iristest.statsd.io/api/v1/risk' \
  -H 'accept: application/json' \
  -H 'apiKey: 73tB7AZM4K4Y9NmG1i8sR3H7hJ26Ltub73APmZVYgE' \
  -H 'Content-Type: application/json' \
  -d '{
  "cid": "iristest",
  "csid": "demo0883d839",
  "userID": "1193539722",
  "additionalData": {}
}'

Make sure you replace {BaseURL} with the actual base URL of the service, and your_api_key with the API key provided to you.