> For the complete documentation index, see [llms.txt](https://docs.tendar.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tendar.co/documentation/credit-scoring/overview.md). Agents can also search and read this documentation through its [MCP server](https://docs.tendar.co/~gitbook/mcp).

# Overview

Learn how to decide who to lend to, and how much, with the Credit Scoring Service.

Before you lend, Tendar can tell you a customer's credit history from the credit bureau, give them a single score, check whether anyone has blacklisted them, and read their bank statement. Save your lending rules as a credit policy, and every loan request is checked against it.

Use each part on its own, or let them work together: the eligibility check reads the score, the blacklist and the risk assessment for you, and runs on every loan you create.

### Getting started

***

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-file-lines">:file-lines:</i></h4></td><td><strong>Credit Bureau</strong></td><td>Get a customer's credit report and bureau score.</td><td><a href="https://docs.tendar.co/documentation/credit-scoring/credit-bureau.md">Credit Bureau</a></td></tr><tr><td><h4><i class="fa-gauge-high">:gauge-high:</i></h4></td><td><strong>Credit Score</strong></td><td>One score from 300 to 850 for each customer, with the reasons behind it.</td><td><a href="https://docs.tendar.co/documentation/credit-scoring/credit-score.md">Credit Score</a></td></tr><tr><td><h4><i class="fa-user-slash">:user-slash:</i></h4></td><td><strong>Blacklist</strong></td><td>Stop people who defrauded you from borrowing again, and see when another lender has flagged them.</td><td><a href="https://docs.tendar.co/documentation/credit-scoring/blacklist.md">Blacklist</a></td></tr><tr><td><h4><i class="fa-chart-line">:chart-line:</i></h4></td><td><strong>Risk Assessment</strong></td><td>Read a customer's bank statement to see their chance of default and what they can afford.</td><td><a href="https://docs.tendar.co/documentation/credit-scoring/risk-assessment.md">Risk Assessment</a></td></tr><tr><td><h4><i class="fa-scale-balanced">:scale-balanced:</i></h4></td><td><strong>Eligibility</strong></td><td>Set your lending rules once, and get approve, refer or decline for every loan request.</td><td><a href="https://docs.tendar.co/documentation/credit-scoring/eligibility.md">Eligibility</a></td></tr></tbody></table>

### How it works

***

{% stepper %}
{% step %}

#### Learn about the customer

Each source is optional. The more you add, the better the picture:

* **Credit bureau:** link the customer by their BVN once, then get their [credit report](https://docs.tendar.co/documentation/credit-scoring/credit-bureau.md).
* **Bank statement:** upload it, or pull it from their bank through open banking, for a [risk assessment](https://docs.tendar.co/documentation/credit-scoring/risk-assessment.md).
* **Your loans:** nothing to do. Loans and repayments on Tendar are read automatically.
  {% endstep %}

{% step %}

#### Score them

Get their [Credit Score](https://docs.tendar.co/documentation/credit-scoring/credit-score.md), from 300 to 850, and [check the blacklist](https://docs.tendar.co/documentation/credit-scoring/blacklist.md#check-a-borrower).
{% endstep %}

{% step %}

#### Decide

Save your [credit policy](https://docs.tendar.co/documentation/credit-scoring/eligibility.md): minimum score, loan limits, affordability and more. Every loan request gets **approve**, **refer** (look before lending) or **decline**, with the reasons.
{% endstep %}
{% endstepper %}

### Billing

***

Calls that get data from a third party are billed to your wallet, according to your plan, when the third party answers. Reading data Tendar already has is free.

| Request                               | Billing item                       |
| ------------------------------------- | ---------------------------------- |
| A credit report                       | `credit_score.credit_report`       |
| A bureau score                        | `credit_score.credit_bureau_score` |
| A risk assessment of a statement      | `risk.statement_analysis`          |
| Linking a bank account (open banking) | `risk.bank_link`                   |
| Pulling a statement (open banking)    | `risk.bank_statement`              |

If your plan doesn't include an item, the request returns `400` with `you dont have permission to access this resource`.

### Base URL

***

| Environment | Base URL                    |
| ----------- | --------------------------- |
| Production  | `https://api.tendar.co`     |
| Sandbox     | `https://sandbox.tendar.co` |

Every endpoint path starts with `/api/v1`, for example `https://api.tendar.co/api/v1/credit-score/usr-kqhzwmtrpa`. Send your secret key with every request, as described in [Authentication](https://docs.tendar.co/documentation/getting-started/authentication.md).
