Get Scorecard Definitions

This endpoint returns all the custom scorecard definitions configured for you and their corresponding parameters

MethodEndpointHeadersParameters
GET/creditscore/scorecard-definitionsAuthorization value: Bearer string_encrypted_access_tokenNone

Request

curl --location --request GET 'https://api.insights-periculum.io/creditscore/scorecard-definitions'
--header 'Authorization: Bearer string_encrypted_access_token'
--header 'Content-Type: application/json'
--data- none

Response

[
    {
        "scorecardDefinitionName": "Default",
        "scorecardDefinitionKey": 1,
        "scorecardDefinitionType": "POINTS",
        "customParameters": [
            {
                "name": "Age",
                "displayType": "NUMBER"
            },
            {
                "name": "Employment",
                "displayType": "NUMBER"
            }
        ]
    }, 
    {
        "scorecardDefinitionName": "DefaultRules",
        "scorecardDefinitionKey": 2,
        "scorecardDefinitionType": "RULES",
        "customParameters": [
            {
                "name": "YearsOfEmployment",
                "displayType": "NUMBER"
            }
        ]
    }
]