API REFERENCE - CONFIGS


Service Documentation: "Get Risk Classification"

The "Get Risk Classification" service is a web-based API designed to provide clients with the ability to determine the appropriate RiskId for use in integrations, particularly when initiating transactions that require a risk level assessment. This service is crucial for tailoring transaction processes based on the configured risk levels, ensuring that each transaction is handled according to its risk classification.

Service Overview

Request Parameters

Response Structure

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

Example Response

{
    "Id": 1,
    "From": 0,
    "To": 1000000
}

This sample response indicates a risk level (Id of 1) applicable for transactions up to 1,000,000 (currency unspecified).

Configured Risk Levels Example

Risk levels are set to ensure no overlapping intervals. Each risk level begins where the previous one ended, plus one unit. Below is an example configuration:

Id From To
1 $0 $1,000,000
2 $1,000,001 $15,000,000
3 $15,000,001 $50,000,000
4 $50,000,001 $100,000,000

Example CURL Request

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

curl -X GET "{URL_Base}/api/Integration/GetRiskClassification?projectName=projectName" -H "accept: application/json" -H "apiKey: your_api_key"

Ensure to replace {URL_Base} with the actual base URL of the service, projectName with your project name, and your_api_key with the API key provided to you.

Important Notes

This service plays a vital role for clients needing to apply dynamic risk levels to transactions, thereby enhancing the customization and security of web integrations.