Score Reports#

A Score Report contains the completed scoring results, including individual scores, risk indicators, adverse action codes, and detailed attributes derived from the tenant's financial data.

The Score Report object#

AttributeTypeDescription
idstringUnique identifier with scrpt_ prefix
objectstringAlways "score_report"
score_requeststringLinked Score Request ID
scoresarrayArray of score results
scores[].score_typestringType of score
scores[].valueintegerScore value (0–100)
scores[].score_versionstringAlgorithm version used
scores[].risk_indicatorenumlow_risk, medium_risk, high_risk
scores[].adverse_action_codesarrayRegulatory compliance codes
attributesarrayDetailed financial attributes
attributes[].namestringAttribute name
attributes[].descriptionstringHuman-readable description
attributes[].nodeenumASSETS, EXPENSES, INCOME
attributes[].valuenumberAttribute value
createdtimestampTime at which the object was created
{
  "id": "scrpt_xyz789",
  "object": "score_report",
  "score_request": "sr_abc123def456",
  "scores": [
    {
      "score_type": "tenant_score",
      "value": 82,
      "score_version": "v2.1",
      "risk_indicator": "low_risk",
      "adverse_action_codes": []
    },
    {
      "score_type": "cash_flow_score",
      "value": 78,
      "score_version": "v1.3",
      "risk_indicator": "low_risk",
      "adverse_action_codes": []
    },
    {
      "score_type": "credit_score",
      "value": 65,
      "score_version": "v1.0",
      "risk_indicator": "medium_risk",
      "adverse_action_codes": [
        {
          "code": "AC-201",
          "description": "Limited credit history length"
        },
        {
          "code": "AC-305",
          "description": "High credit utilization ratio"
        }
      ]
    }
  ],
  "attributes": [
    { "name": "monthly_income", "description": "Average monthly income", "node": "INCOME", "value": 600000 },
    { "name": "monthly_expenses", "description": "Average monthly expenses", "node": "EXPENSES", "value": 420000 },
    { "name": "net_monthly_cash_flow", "description": "Net monthly cash flow", "node": "ASSETS", "value": 180000 },
    { "name": "rent_to_income_ratio", "description": "Proposed rent as ratio of income", "node": "INCOME", "value": 0.28 },
    { "name": "savings_balance", "description": "Current savings balance", "node": "ASSETS", "value": 1500000 },
    { "name": "debt_to_income_ratio", "description": "Total debt payments as ratio of income", "node": "EXPENSES", "value": 0.12 },
    { "name": "income_stability_score", "description": "Income consistency over 12 months", "node": "INCOME", "value": 0.94 },
    { "name": "expense_volatility", "description": "Expense variation coefficient", "node": "EXPENSES", "value": 0.15 }
  ],
  "created": 1706140800
}

Retrieve a Score Report#

GET /v1/score_reports/:id

curl https://api.casapay.com/v1/score_reports/scrpt_xyz789 \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"

List Score Reports#

GET /v1/score_reports

ParameterTypeDescription
score_requeststringFilter by Score Request ID
limitintegerNumber of objects to return (1–100)
starting_afterstringCursor for pagination
curl https://api.casapay.com/v1/score_reports?limit=10 \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"