> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sahlfinancial.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sahl documentation

> Open finance for banks and lenders in Morocco and francophone Africa: bank connections, document OCR, verification, risk assessment and scoring.

Documentation

# Open finance for banks and lenders

Sahl connects bank accounts, reads financial documents, verifies clients and assesses risk, for banks and lenders in Morocco and francophone Africa. Bank connections come first. New workspaces start in the sandbox, on test data.

[Quickstart](https://docs.sahlfinancial.com/quickstart.md)
[Partner API reference](https://docs.sahlfinancial.com/api-reference/introduction.md)
[Console API reference](https://docs.sahlfinancial.com/console-api/overview.md)
[Upgrade for real bank connections](https://sahlfinancial.com/use-cases)

### [Quickstart](https://docs.sahlfinancial.com/quickstart.md)

Read a document and get a verdict, in cURL, JavaScript and Python.

### [Bank connections](https://docs.sahlfinancial.com/guides/open-banking.md)

What a connection is, its statuses, transactions, analysis and the sandbox simulation.

### [Bank coverage](https://docs.sahlfinancial.com/bank-coverage.md)

The institutions Sahl lists, by country.

### [Test in the sandbox](https://docs.sahlfinancial.com/test-in-sandbox.md)

Create a key and run every call from this site. 15 minutes.

## What Sahl covers

<table>
  <thead>
    <tr><th>Capability</th><th>What it does</th><th>Availability</th><th>Where</th></tr>
  </thead>

  <tbody>
    <tr><td>Sahl Connect: bank connections</td><td>Customer authorises at their own bank; account, balance and transaction data.</td><td>Sandbox simulation today. Console and, with an API key, `/v1/partner/bank-connections` (scopes `bank:read`, `bank:write`). Growth plan, switched on per workspace by Sahl. Until then production answers 409.</td><td>[Bank connections guide](https://docs.sahlfinancial.com/guides/open-banking.md)</td></tr>
    <tr><td>Sahl Connect: wallets and fintechs</td><td>Mobile money and digital wallets beyond banks.</td><td>In preparation</td><td>No route</td></tr>
    <tr><td>Consent dashboard, drop-in widget, automatic reconnection</td><td>Customer sees and revokes access; embeddable connect flow.</td><td>In preparation</td><td>No published route</td></tr>
    <tr><td>Financial documents (Sahl OCR)</td><td>Reads payslips, bank statements and identity documents into fields, with checks per document.</td><td>Partner API with key, and Console</td><td>`POST /v1/kyc/extract`, [guide](https://docs.sahlfinancial.com/guides/ocr-documents.md)</td></tr>
    <tr><td>Verification: identity</td><td>Verdict for a client profile and its documents.</td><td>Partner API with key</td><td>`POST /v1/kyc/verify`, [guide](https://docs.sahlfinancial.com/guides/verification.md)</td></tr>
    <tr><td>Verification: income from transactions</td><td>Income and employment read from bank transactions.</td><td>In preparation</td><td>Needs live bank data</td></tr>
    <tr><td>eID</td><td>Remote ID and selfie check, status and PDF report. Canadian clients only today.</td><td>Partner API with key</td><td>`POST /v1/kyc/eid`, [guide](https://docs.sahlfinancial.com/guides/eid.md)</td></tr>
    <tr><td>Insights: cash-flow analysis</td><td>Categorised transactions, income regularity, risk flags, savings rate, debt ratio.</td><td>Console, on sandbox data</td><td>`GET /v1/bank-connections/{id}/analysis`</td></tr>
    <tr><td>Risk assessment</td><td>The verdict plus risk tolerance, capacity, compliance risk and suitability.</td><td>Partner API with key</td><td>`POST /v1/kyc/assess`, [guide](https://docs.sahlfinancial.com/guides/risk-assessment.md)</td></tr>
    <tr><td>Scoring and scoring policies</td><td>Credit score on a case, and the policies that define it.</td><td>Console. By API key: in preparation</td><td>[Scoring](https://docs.sahlfinancial.com/guides/scoring.md)</td></tr>
    <tr><td>Cases</td><td>Group documents, connections and decisions for one applicant.</td><td>Console</td><td>[Console API reference](https://docs.sahlfinancial.com/console-api/overview.md)</td></tr>
    <tr><td>Webhooks</td><td>Signed events to your URL. Endpoints are managed in the console.</td><td>Receive: Partner API with key. Manage: Console</td><td>[guide](https://docs.sahlfinancial.com/guides/webhooks.md)</td></tr>
    <tr><td>API keys</td><td>Create, scope and revoke keys.</td><td>Console</td><td>[Authentication](https://docs.sahlfinancial.com/authentication.md)</td></tr>
    <tr><td>Ask Sahl</td><td>Assistant inside the console.</td><td>Console</td><td>No Partner API route</td></tr>
  </tbody>
</table>

Availability is read from the API code. "Partner API with key" means an API key with the scope calls it. "Console" means a signed-in member uses it in the console. "In preparation" means no route does it yet. No live bank data provider is wired in the API today, so bank data in the console is a sandbox simulation. The [Console API reference](https://docs.sahlfinancial.com/console-api/overview.md) documents the console routes for information: they need a login session, not an API key. See also [Bank coverage](https://docs.sahlfinancial.com/bank-coverage.md) and [Coverage](https://docs.sahlfinancial.com/coverage.md).

## Run your first call

Set SAHL\_API\_KEY to a sandbox key, then read a test Moroccan national ID card (CIN).

```bash cURL theme={"dark"}
curl -X POST https://app.sahlfinancial.com/api/v1/kyc/extract \
  -H "Authorization: Bearer $SAHL_API_KEY" \
  -F "files=@cin-specimen.png" \
  -F "doc_type=national_id" \
  -F "reference=client-0001" \
  -F "environment=sandbox" > extracted.json
```

[Changelog](https://docs.sahlfinancial.com/changelog.md)
[Postman](https://docs.sahlfinancial.com/postman.md)
[Go-live checklist](https://docs.sahlfinancial.com/go-live.md)
[Developer support: [contact@sahlfinancial.com](mailto:contact@sahlfinancial.com)](mailto:contact@sahlfinancial.com)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.