Request

curl --location --request POST 'https://api.insights-periculum.io/creditscore/v2'
--header 'Authorization: Bearer string_encrypted_access_token'
--header 'Content-Type: application/json'
--data- '{
    "statementKey": 5,
    "scorecardDefinitionName": "Default",
    "customScorecardFields": [
        {
            "FieldName": "Age",
            "FieldValue": "20"
        },
        {
            "FieldName": "Employment",
            "FieldValue": "Employed"
        }
    ]
}'

Request Parameters

NameDescriptionTypeRequired
statementKeyThe key of the statement to generate the creditscore forintYes
scorecardDefinitionNameThe name scorecard definition to be used as returned by the /creditscore/score-definition endpointstringYes
customScorecardFieldsA list of custom scorecards associated with a score definitionstringYes