Adjútor from Lendsqr
API ReferenceLendsqr
  • Introduction
    • Overview
    • Getting Started
    • Test and Live mode
    • Making your first API call
    • Webhooks
  • Authentication
    • Authentication Type
    • Generating your API key
  • USE CASES
    • Introduction
    • Loan repayment with Direct Debit
    • Corporate Cash and Treasury Management
    • Buy Now Pay Later (BNPL)
    • Embedded Credit/ Finance
    • Loan scoring/ Credit scoring
    • Customer Validation
    • Implementing GSI with Direct Debit
  • Adjutor API Endpoints
    • Oraculi Mobile SDK (Beta)
      • Installing the SDK
      • The Oraculi SDK data journey
    • Validation
      • Bank Verification Number
      • Bank Account Verification
      • Karma Lookup
      • Ecosystem Lookup
    • Decisioning
      • Decision Model Lookup
      • Oraculi scoring
    • Credit Bureaus
    • Direct Debit
      • How Direct Debit works
      • The Direct Debit process
      • Understanding Mandate Statuses
    • Embedded Loans and Payments
    • Platform Data
      • Data for Lenders
      • Operational Services
    • Transactions and Balances with Kolo
      • Initializing Authorization
      • Using your access token
      • Permission Scopes
    • Core Services
  • ADDITIONAL INFORMATION
    • FAQs
    • Getting Support
    • Pricing
    • Glossary
Powered by GitBook
On this page
  • Introduction
  • Get all decision models
  • Get details of a single decision model

Was this helpful?

  1. Adjutor API Endpoints
  2. Decisioning

Decision Model Lookup

Summary

With these services, you are able to view existing decision models created by your business.

Introduction

Decisioning is a very important part of the lending cycle, which is why Adjutor provides endpoints that allow you fetch all the decision models that you have configured on the Lendsqr platform.

Below are the API services available for usage:

API Endpoint
Description

This endpoint fetches all the decision models that you have configured on the Lendsqr platform.

This endpoint fetches an individual decision model and its settings that have been configured on your platform.

Get all decision models

This endpoint fetches all the decision models that you have configured on the Lendsqr platform. This endpoint returns all the decision model data you have on your platform irrespective of whether they have been activated or not.

curl --location 'https://adjutor.lendsqr.com/v2/decisioning/models/:id/settings'

Get details of a single decision model

This endpoint fetches an individual decision model and its settings that have been configured on your platform using the decision model id.

curl --location 'https://adjutor.lendsqr.com/v2/decisioning/models/:id/settings'
{
    "status": "success",
    "message": "Successful",
    "data": [
        {
            "id": 20,
            "product_id": null,
            "version_id": 33,
            "org_id": 1,
            "name": "Test Decision Model",
            "description": "testing",
            "decision_setting": {
                "karma": {
                    "required": true,
                    "sequence": 1,
                    "continue_on_failure": false,
                    "pre_offer": true
                },
                "ecosystem": {
                    "required": true,
                    "sequence": 2,
                    "continue_on_failure": false,
                    "pre_offer": true
                },
                "scoring": {
                    "minimum": 50,
                    "required": true,
                    "sequence": 3,
                    "continue_on_failure": false,
                    "pre_offer": true
                },
                "credit_bureau": {
                    "provider": "CRC",
                    "required": true,
                    "sequence": 4,
                    "continue_on_failure": false
                }
            },
            "offer_setting": [
                {
                    "rule": {
                        "*": [
                            1,
                            {
                                "var": [
                                    "requested_amount"
                                ]
                            }
                        ]
                    },
                    "maximum": 10000000,
                    "minimum": 1000
                }
            ],
            "status": "active",
            "created_on": "2021-07-31T08:06:27.000Z"
        }
    ]
}

In the case where you have no decision model configured, the endpoint returns an empty array.

PreviousDecisioningNextOraculi scoring

Last updated 10 months ago

Was this helpful?

Get all decision models
Get details of a single decision model