# How RaaS Works

#### **Simplified Flow**

<div data-full-width="true"><figure><img src="/files/YVMJpaMWYQe70qM9VjZk" alt=""><figcaption></figcaption></figure></div>

#### **Step-by-Step Flow**

1. **Partner Integrates Once**&#x20;
   1. The bank/fintech/wallet connects to the **RaaS API** or uses the dashboard.&#x20;
   2. API keys and webhooks are configured; allowed corridors and payout methods are enabled.&#x20;
2. **Corridor & Payout Discovery** &#x20;
   1. Partner queries corridors to see which send→receive routes, currencies, and payout options (bank, wallet, cash) are available.&#x20;
   2. The product UI uses this data to show users which countries and payout channels they can send to.&#x20;
3. **Sender Onboarding & KYC**&#x20;
   1. Partner (with Sender’s UI) creates a **Sender** via the API (name, address, ID details, etc.).&#x20;
   2. RaaS runs **KYC / AML checks** and returns the sender status (verified/ pending / rejected).&#x20;
   3. Only approved and not blacklisted senders can initiate transactions.&#x20;
4. Beneficiary Onboarding & Validation &#x20;
   1. Partner (with Beneficiary’s UI) creates a **Beneficiary** (country, payout method, account or wallet details).&#x20;
   2. RaaS runs **KYC / AML checks** of the beneficiary and returns the sender status (verified / pending / rejected).&#x20;
   3. RaaS validates format (IBAN, bank code, mobile wallet scheme, etc.) and links the beneficiary to a corridor.&#x20;
5. **Quote Request (FX + Fees)** &#x20;
   1. Sender requests a **Quote** for a selected corridor with: &#x20;
      1. Send currency and amount&#x20;
      2. Destination currency and payout method&#x20;
      3. Sender + beneficiary IDs&#x20;
   2. RaaS: &#x20;
      1. Checks corridor availability and limits&#x20;
      2. Verifies corridor, senders, and beneficiary against compliance rules&#x20;
      3. Calculates FX rate, fees, and expected delivery time&#x20;
      4. Returns a quote ID, amounts, and expiry time.&#x20;
6. **Sender Reviews & Confirms**&#x20;
   1. The partner app shows the quote to the sender (send amount, receive amount, fees).&#x20;
   2. The sender confirms the transaction; partner calls the **New Transaction** endpoint referencing the quote ID.&#x20;
7. **Funding & Treasury Management** &#x20;
   1. RaaS checks whether the partner’s **treasury wallet** in the origin currency is sufficiently funded: &#x20;
      1. If **continuous funding** is enabled, the balance is already pre-funded.&#x20;
      2. If not, a **manual funding** cycle (e.g., weekly) is used to top up liquidity.&#x20;
   2. If funding is insufficient, the transaction is rejected or queued with the corresponding messaging.&#x20;
8. **FX Conversion & Cross-Border Settlement** &#x20;
   1. RaaS instructs the **Outgoing Currency Treasury Partner** to debit the origin wallet.&#x20;
   2. Funds are converted according to the quote FX rate and sent to the **Incoming Currency Treasury Partner** in the destination country.&#x20;
   3. Internal settlements and confirmations ensure that books are balanced on both sides.&#x20;
9. **Payout to Beneficiary** &#x20;
   1. Once funds are available on the destination side, RaaS triggers the **payout operation**: &#x20;
      1. Bank account credit, mobile money top-up, or cash payout request.&#x20;
   2. The payout network returns a settlement confirmation or an error (e.g., invalid account, payout network issue).&#x20;
10. **Status, Notifications & Webhooks** &#x20;
    1. Throughout the process, the **transaction status** is updated.&#x20;
       1. Possible statuses:&#x20;
          1. Created&#x20;
          2. Pending&#x20;
          3. Processing&#x20;
          4. Completed&#x20;
          5. Failed&#x20;
          6. Rejected&#x20;
    2. Webhooks notify the partner of key events: &#x20;
       1. KYC (verified / pending / rejected )&#x20;
       2. Transaction (created / pending / processing / completed / failed / rejected)&#x20;
       3. Payout (success/ pending / failure)&#x20;
11. **Reconciliation, Reporting & Compliance** &#x20;
    1. Partners can fetch **transaction histories**, quotes, and balances for reconciliation.&#x20;
    2. RaaS maintains audit trails and supports regulatory reporting (limits, sanctions screening, transaction monitoring).&#x20;

&#x20;


---

# 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.minitmoney.enterprises/introduction/how-raas-works.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.
