Skip to main content

Service Documentation: "Post Update"

 

Update

Service Overview

    Service Name: Post Update URL{URL_Base}/api/v1/Update 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:   success:  

        Example Response

         

        {
          "errorMessage": "string",
          "success": 0
        }

        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/update' \
          -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.