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

# Portfolio Menu View

The portfolio view allows users to see their assets, review pending order requests and transactions.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/pipevest/l6kPGYU9W55pgekc/images/ussd-portfolio.png?fit=max&auto=format&n=l6kPGYU9W55pgekc&q=85&s=b0b91c1c7a61530337e9c92fa186739e" width="2784" height="1668" data-path="images/ussd-portfolio.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/pipevest/l6kPGYU9W55pgekc/images/ussd-portfolio-dark.png?fit=max&auto=format&n=l6kPGYU9W55pgekc&q=85&s=b796dae1467500ef6b349168fbee6ca3" width="2784" height="1668" data-path="images/ussd-portfolio-dark.png" />
</Frame>

### Accessing the Portfolio View

<Tip>
  This request is made from the `Home` menu view.
</Tip>

```bash theme={null}
  curl --request POST \
    --url https://api.staging.pipevest.com/v1/ussd/process
    ...
    --data 'sessionId=<session-id>'
    --data 'choice=2'
```

**Example Response**

```json theme={null}
{
    "message": "USSD request processed successfully",
    "data": {
        "sessionId": "ussd_2231df057f1f8f5269f0a268249ac104",
        "currentState": "MY_PORTFOLIO",
        "menu": {
            "state": "MY_PORTFOLIO",
            "text": "My Portfolio",
            "options": [
                {
                    "key": "1",
                    "label": "View Assets",
                    "nextState": "VIEW_ASSETS"
                },
                {
                    "key": "2",
                    "label": "Pending Requests",
                    "nextState": "PENDING_REQUESTS"
                },
                {
                    "key": "3",
                    "label": "Transaction History",
                    "nextState": "TRANSACTION_HISTORY"
                },
                {
                    "key": "0",
                    "label": "Back to Home",
                    "nextState": "HOME"
                }
            ],
            "isEndState": false
        },
        "ussdText": "My Portfolio\n\n1. View Assets\n2. Pending Requests\n3. Transaction History\n0. Back to Home",
        "expiresAt": "2025-11-10T14:56:05.356Z"
    }
}
```

### Portfolio View Example

<Card title="USSD Portfolio View" icon="rectangle-list" href="https://www.figma.com/proto/xkSZwzsNTpYDNQiG0QGRlu/Zamtel-USSD-Flow?node-id=72-292&t=7ty9x1l3kywQhWlB-0&scaling=min-zoom&content-scaling=fixed&page-id=72%3A258&starting-point-node-id=108%3A69&show-proto-sidebar=1" horizontal>
  Check out an example of the ussd portfolio view
</Card>
