Skip to content

POST /compute/scenarioId

Calculate servicing/borrowing capacity for a specific lender.

Runs the servicing calculator for a given scenario and lender, returning whether the loan services, maximum borrowing capacity, rate breakdowns, and detailed validation results.

Required: RSA signature-based authentication

X-Auth-Client-ID: {clientId}
X-Auth-Access-Token: {accessToken}
X-Auth-Timestamp: {timestamp}
X-Auth-Nonce: {nonce}
X-Auth-Signature: {signature}

Method: POST

URL: https://api.quickli.com/api/v1/compute/\{scenarioId\}

Path Parameters:

  • scenarioId (required) - Scenario ObjectId

Headers:

X-Auth-Client-ID: {clientId}
X-Auth-Access-Token: {accessToken}
X-Auth-Timestamp: {timestamp}
X-Auth-Nonce: {nonce}
X-Auth-Signature: {signature}
Content-Type: application/json

Body:

{
"lenderName": "cba",
"addToRates": 0
}
FieldTypeRequiredDescription
lenderNamestringYesLender identifier (e.g., 'cba', 'westpac', 'anz', 'nab')
addToRatesnumberNoOptional rate buffer to add (e.g., 0.5 for +0.5%)

See Servicing Result Schema for complete details.

{
"data": {
"lender_name": "cba",
"does_service": true,
"max_borrowing_capacity": 720000,
"net_monthly_surplus": 1245.50,
"debt_to_income_ratio": 5.2,
"validations": [
{
"name": "Minimum Income",
"passed": true,
"message": "Income exceeds minimum threshold"
}
],
"warnings": [
"Commission income requires evidence"
],
"per_loan_rate_breakdown": [
{
"loan_id": "loan-1",
"rate": 6.24,
"base_rate": 6.04
}
],
"ytd_results": [
/* ... */
]
}
}

Invalid credentials.

  • User doesn’t have access to specified lender
  • Scenario doesn’t exist.
  • Scenario is not a part of user’s accessible teams.

Invalid request body.

Terminal window
curl -X POST https://api.quickli.com/api/v1/compute/507f1f77bcf86cd799439011 \
-H "X-Auth-Client-ID: {clientId}" \
-H "X-Auth-Access-Token: {accessToken}" \
-H "X-Auth-Timestamp: {timestamp}" \
-H "X-Auth-Nonce: {nonce}" \
-H "X-Auth-Signature: {signature}" \
-H "Content-Type: application/json" \
-d '{
"lenderName": "cba",
"addToRates": 0
}'

(See main code examples above for usage patterns)

Scenarios this may be helpful:

  • Incorporating a piece of policy manually into servicing results
  • Stress testing serviceability
  • User must have access to both the scenario’s team AND the specified lender
  • Integration partner must have access to the specified lender
  • Rate buffer is added to all loan rates
  • Results include detailed validation checks and warnings
  • Calculations use lender-specific products and policies

Last updated: 2025-11-19