# Technical architecture

### Connecting to Yumi Credit Line

* The underwriting process is facilitated via **dedicated API endpoints** or **SDK methods** (TBD). Your system sends us users' **banking** and **wallet** data, along with any **available data**. We use it to **analyze the user's profile** and determine a credit limit.&#x20;
* Required data includes one or more **financial sources** (bank, wallet, or card), the **user's legal name**, **nationality,** and one or more **points of contact**.
* For cards with the **Mobile app**, we also plan to build a **React Native SDK** for modular integration.

After onboarding, an initial **limit is dynamically updated** based on users' and macroeconomic data.

### Loan Authorization (Per-Transaction Decision)

The card queries the API for a decision (**loan authorization**); the API returns a response with the current credit limit, approval (or rejection), and additional loan information. The model is **just-in-time underwriting**: users' **limit is checked for each purchase**; the limit may change from transaction to transaction and after repayments.

**Funding model** at authorization: the card receives the server-side **allowance signature** to withdraw funds from the Yumi hot vault, without waiting for a transfer, thereby avoiding additional **transaction delays**.

<figure><img src="/files/DQG12uOTqvPIMxTQW1Dz" alt=""><figcaption></figcaption></figure>

### Debt Repayment

There are dedicated **API endpoints** for **constructing** and **submitting** a **repayment tx**. Also, if users want to repay debt from a 3rd-party account, they can **send an ochain transaction** directly to the **dedicated wallet** or **provide us a signature** via API endpoint. We can execute the transaction on our side.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yumi.finance/credit/technical-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
