# 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 - **Service Name**: Get Risk Classification - **URL**: `{URL_Base}/api/Integration/GetRiskClassification` - **Method**: GET - **Functionality**: Returns the risk levels configured for transactions, aiding in the selection of an appropriate `RiskId`. ### Request Parameters - **projectName**: Specifies the project for which risk classifications are requested. This parameter is included in the query string of the request URL. - **apiKey**: A unique key provided to authenticate the request. This key ensures that the request is authorized to access the risk classification information. ### Response Structure The API responds with a JSON object listing the risk levels configured within the system. Each entry in the response includes: - **Id** (Int): The identifier for the risk level. - **From** (Int): The lower bound of the transaction amount range for this risk level. - **To** (Int): The upper bound of the transaction amount range for this risk level. #### 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 |