> 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/blacklist.md). Agents can also search and read this documentation through its [MCP server](https://docs.tendar.co/~gitbook/mcp).

# Blacklist

Stop people who defrauded you or wilfully defaulted from borrowing again, on your platform and across Tendar.

Check every customer before you lend. The check looks across all of Tendar: someone another lender listed is recognised when they apply to you, even with a different `user_id`. You see that they're blocked or flagged, but never which lender listed them or why.

All endpoints need your secret key. See [Authentication](https://docs.tendar.co/documentation/getting-started/authentication.md).

### Check a borrower

***

```
GET /api/v1/blacklist/check/:user_id
```

Every [eligibility check](https://docs.tendar.co/documentation/credit-scoring/eligibility.md), and every loan you create, runs this check for you.

**Response** `200 OK`

```json
{
  "data": {
    "user_id": "usr-b7d2k1",
    "status": "blocked",
    "blocked": true,
    "matches": [
      {
        "reference": "6706b2d3e4f5a6b7c8d9e0f1",
        "listed_by": "another_lender",
        "category": "fraud",
        "matched_on": "identity",
        "listed_at": "2026-10-09T12:00:00Z",
        "expires_at": null,
        "blocks": true,
        "removal_requested": false
      }
    ]
  },
  "error": false,
  "message": "Blacklist check completed"
}
```

| `status`  | Meaning                       |
| --------- | ----------------------------- |
| `blocked` | Don't lend.                   |
| `flagged` | Look closely before you lend. |
| `clear`   | Nothing matches the customer. |

Each match has:

| Field        | Description                                                                  |
| ------------ | ---------------------------------------------------------------------------- |
| `reference`  | The entry, for a [removal request](#removal-requests).                       |
| `listed_by`  | `your_company`, `another_lender` or `tendar`. Another lender is never named. |
| `matched_on` | `user`, `identity`, `phone` or `email`.                                      |
| `blocks`     | `true` if this entry blocks the customer, `false` if it only flags them.     |
| `reason`     | Your note. Only on your own entries.                                         |

#### How someone is recognised

| Matched on                                                                          | Result                                                |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------- |
| Your own entry for the user                                                         | `blocked`                                             |
| Their **verified** BVN, NIN, passport or driver's licence, listed by another lender | `blocked`, or `flagged` if you [allow it](#settings)  |
| Their verified ID, listed by Tendar                                                 | `blocked`                                             |
| Only their phone number or email                                                    | `flagged`, because numbers and addresses change hands |

Only IDs verified through [Know Your Customer](https://docs.tendar.co/documentation/onboarding/know-your-customer.md) count, so a number someone typed in can never get its real owner blocked. Verify your customers' IDs to get the most from the check. The order doesn't matter: an ID verified after you blacklist someone is added to your entry, and other lenders recognise them by it from then on.

On a [user](https://docs.tendar.co/documentation/onboarding/user-management.md), `blacklisted` says whether **you** have listed them, and fetching one user also returns `blacklist_status`, the check across Tendar.

### Blacklist a user

***

```
POST /api/v1/blacklist/create
```

```json
{
  "user_id": "usr-kqhzwmtrpa",
  "category": "fraud",
  "reason": "Forged bank statements on application LN-1029",
  "expires_at": ""
}
```

| Field        | Required | Description                                                                                    |
| ------------ | -------- | ---------------------------------------------------------------------------------------------- |
| `user_id`    | Yes      | The user to list.                                                                              |
| `category`   | Yes      | `fraud`, `wilful_default`, `identity_misuse` or `other`.                                       |
| `reason`     | Yes      | Your note. Other lenders never see it.                                                         |
| `expires_at` | No       | A future date, `YYYY-MM-DD`, when the entry ends. Leave it empty to keep it until you lift it. |

**Response** `200 OK`

```json
{
  "data": {
    "id": "6706b2d3e4f5a6b7c8d9e0f1",
    "user_id": "usr-kqhzwmtrpa",
    "scope": "company",
    "category": "fraud",
    "reason": "Forged bank statements on application LN-1029",
    "listed_by": "api",
    "network": true,
    "expires_at": null,
    "lifted": false,
    "removal_requested": false,
    "created_at": "2026-10-09T12:00:00Z"
  },
  "error": false,
  "message": "User blacklisted successfully"
}
```

`network` is `true` when the user had a verified ID when you listed them, so other lenders see them as blocked. If it's `false`, other lenders can only match them by phone or email, and see them as flagged.

#### Manage your entries

| Action    | Endpoint                          |
| --------- | --------------------------------- |
| List      | `GET /api/v1/blacklist/list`      |
| Fetch one | `GET /api/v1/blacklist/fetch/:id` |
| Lift one  | `POST /api/v1/blacklist/lift/:id` |

* The list is newest first, and can be filtered by `user_id`, `category` and `lifted`.
* To lift an entry, send a `reason`, such as `{ "reason": "Debt settled in full" }`. The user can borrow from you again, and other lenders stop seeing your entry. The entry then shows `lifted_at`, `lifted_by` and `lift_reason`.

### Removal requests

***

If a customer disputes an entry another lender made, for example because they've since repaid, ask that lender to lift it. The lender approves it, which lifts the entry for everyone, or rejects it. Neither side sees who the other is.

| Action            | Endpoint                                     |
| ----------------- | -------------------------------------------- |
| Ask for a removal | `POST /api/v1/blacklist/removal/request`     |
| List requests     | `GET /api/v1/blacklist/removal/list`         |
| Approve one       | `POST /api/v1/blacklist/removal/approve/:id` |
| Reject one        | `POST /api/v1/blacklist/removal/reject/:id`  |

**Ask for a removal**

```json
{
  "reference": "6706b2d3e4f5a6b7c8d9e0f1",
  "user_id": "usr-b7d2k1",
  "reason": "The borrower has repaid and disputes the listing"
}
```

`reference` comes from a [check](#check-a-borrower) of your user, and the entry must affect that user. You can only ask about an entry another lender (or Tendar) made: to remove one of your own, [lift it](#manage-your-entries).

* The list shows requests about your entries (`direction=incoming`, the default) or the ones you sent (`direction=outgoing`), and can be filtered by `status`: `pending`, `approved` or `rejected`. On incoming requests, `user_id` and `requested_by` are empty, so the other lender isn't identified.
* Only the lender that listed the entry can approve or reject. Send an optional `note` with the decision.

### Webhooks

***

Tendar tells you about removal requests, so you don't have to check the list.

| Event                                | Sent to                   | Sent when                                        |
| ------------------------------------ | ------------------------- | ------------------------------------------------ |
| `blacklist.removal_request.created`  | The lender that listed it | Another lender asks to lift one of your entries. |
| `blacklist.removal_request.approved` | The lender that asked     | Your request is approved. The entry is lifted.   |
| `blacklist.removal_request.rejected` | The lender that asked     | Your request is rejected.                        |

`data` is the removal request. Like the incoming list, the `created` event doesn't include the other lender's `user_id` or `requested_by`.

**`blacklist.removal_request.created`** (to the lender that listed it)

```json
{
  "data": {
    "id": "670a1b2c3d4e5f6a7b8c9d0e",
    "blacklist": "6706b2d3e4f5a6b7c8d9e0f1",
    "user_id": "",
    "reason": "The borrower has repaid and disputes the listing",
    "requested_by": "",
    "status": "pending",
    "decided_at": null,
    "incoming": true,
    "created_at": "2026-10-10T09:12:00Z",
    "updated_at": "2026-10-10T09:12:00Z"
  },
  "event": "blacklist.removal_request.created"
}
```

**`blacklist.removal_request.approved`** (to the lender that asked)

```json
{
  "data": {
    "id": "670a1b2c3d4e5f6a7b8c9d0e",
    "blacklist": "6706b2d3e4f5a6b7c8d9e0f1",
    "user_id": "usr-b7d2k1",
    "reason": "The borrower has repaid and disputes the listing",
    "requested_by": "api",
    "status": "approved",
    "decided_at": "2026-10-11T14:03:00Z",
    "decided_by": "api",
    "decision_note": "Confirmed the repayment",
    "incoming": false,
    "created_at": "2026-10-10T09:12:00Z",
    "updated_at": "2026-10-11T14:03:00Z"
  },
  "event": "blacklist.removal_request.approved"
}
```

**`blacklist.removal_request.rejected`** has the same shape, with `status: "rejected"`.

See [Webhooks](https://docs.tendar.co/documentation/getting-started/webhooks.md) to verify and acknowledge them.

### Settings

***

By default, someone another lender blacklisted by their verified ID is `blocked` for you too. Turn on `allow_users` to see them as `flagged` instead, and decide case by case. Your own entries and Tendar's always block.

```
GET /api/v1/blacklist/setting
PUT /api/v1/blacklist/setting
```

```json
{
  "allow_users": true
}
```

### Errors

***

| Status | Message                                                                           | Cause                                                         |
| ------ | --------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| 400    | `the category field must be one of fraud, wilful_default, identity_misuse, other` | Use one of the four categories.                               |
| 400    | `the expires_at field must be a future date (YYYY-MM-DD)`                         | Send a future date, or leave it empty.                        |
| 400    | `user is already blacklisted`                                                     | You already have a live entry for them.                       |
| 400    | `blacklist has already been lifted`                                               | Nothing to do.                                                |
| 400    | `this blacklist does not affect the user`                                         | Use a `reference` from a check of that user.                  |
| 400    | `you listed this user: lift the blacklist instead`                                | It's your own entry. [Lift it](#manage-your-entries) instead. |
| 400    | `a removal request for this blacklist is already pending`                         | Wait for the lender's decision.                               |
| 400    | `removal request has already been decided`                                        | It's already approved or rejected.                            |
| 403    | `only the lender that listed this blacklist can decide its removal requests`      | You can't decide a request you sent.                          |
| 404    | `user not found`                                                                  | No user with that `user_id`.                                  |
| 404    | `blacklist not found` / `removal request not found`                               | No entry or request with that ID, or not yours.               |

See [Error](https://docs.tendar.co/documentation/getting-started/error.md) for the error format.

### Next steps

***

* [Know Your Customer](https://docs.tendar.co/documentation/onboarding/know-your-customer.md) — verify IDs so the check recognises people across Tendar.
* [Eligibility](https://docs.tendar.co/documentation/credit-scoring/eligibility.md) — every loan request is checked against the blacklist for you.
