> For the complete documentation index, see [llms.txt](https://canza.gitbook.io/can-autonomous-payment-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://canza.gitbook.io/can-autonomous-payment-protocol/user-experience-and-flow-design.md).

# User Experience & Flow Design

#### SME Cross-Border Payment Journey

\[Business Owner] → \[AAPP Dashboard] → \[AI Agent Analysis] → \[Optimized Execution] → \[Real-time Tracking]

&#x20;    │                    │                   │                    │                    │

&#x20;  Initiates           Uploads            Reviews agent          Approves            Monitors

&#x20; $5K payment         invoice data        recommendations       execution           progress

&#x20; to supplier         automatically       • Route: M-PESA        • Funds held        • Live status

&#x20; in Kenya           • Amount: $5,000     • Cost: $47 (0.94%)     in escrow         • ETA countdown

&#x20;                    • Recipient info     • Time: 45 seconds     • Instant start     • Completion

&#x20;                    • Payment reason     • Success rate: 99.2%                      confirmation

<br>

#### Agent Decision Flow

Payment Request → Market Analysis → Route Optimization → Risk Assessment → Execution

&#x20;       │               │                │                  │               │

&#x20;   • Amount        • Exchange rates    • Cost comparison   • Sanctions     • Fund

&#x20;   • Destination   • Network status    • Time estimation   • KYC check     transfer

&#x20;   • Urgency       • Liquidity depth   • Success prob.     • AML scoring   • Monitor

&#x20;   • Constraints   • Regulatory req.   • Risk factors      • Fraud detect. • Confirm

<br>

#### **Mobile Interface (USSD Compatible)**

\*384\*1# → AAPP Menu

1\. Send Money

2\. Check Status &#x20;

3\. Exchange Rates

4\. Transaction History

<br>

\*384\*1\*1# → Send Money

Enter Amount: 50000

Enter Country Code: 234 (Nigeria)

Enter Phone: 08012345678

Confirm? 1=Yes 2=No

<br>

AI Agent Found Best Route:

Route: Airtel → USDC → GTBank

Cost: 450 KES (0.9%)

Time: 1 minute

Success: 99.1%

Confirm: 1

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://canza.gitbook.io/can-autonomous-payment-protocol/user-experience-and-flow-design.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
