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

# Get Fund and Invest Quote

> Get a preview of fees for a fund-and-invest transaction without initiating payment.

<ParamField path="id" type="string" required>
  The member's user ID
</ParamField>

<ParamField path="tokenId" type="string" required>
  The token ID to invest in
</ParamField>

<ParamField body="investmentAmount" type="number" required>
  The amount to invest
</ParamField>

<ParamField body="currency" type="string" required>
  The currency code (e.g., `NGN`, `USD`)
</ParamField>

<RequestExample>
  ```json theme={null}
  {
      "investmentAmount": 10000,
      "currency": "NGN"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
      "status": "success",
      "message": "Investment quote retrieved successfully",
      "data": {
          "investmentAmount": 10000,
          "currency": "NGN",
          "fees": {
              "getequity": 200,
              "getequityPercent": 2,
              "flutterwave": 143,
              "total": 343
          },
          "totalAmount": 10343
      }
  }
  ```
</ResponseExample>

## Error Codes

| Code                         | HTTP Status | Description                            |
| ---------------------------- | ----------- | -------------------------------------- |
| TOKEN\_ACCESS\_DENIED\_ERROR | 403         | User doesn't have access to this token |
| DEAL\_ACCESS\_DENIED\_ERROR  | 403         | User doesn't have access to this deal  |
| TOKEN\_CLOSED\_ERROR         | 400         | Token is closed for investment         |
| TOKEN\_EXITED\_ERROR         | 400         | Token has exited                       |
| AMOUNT\_TOO\_LOW\_ERROR      | 400         | Investment amount is below minimum     |
| BELOW\_MIN\_TRADE\_ERROR     | 400         | Amount below minimum trade limit       |
| ABOVE\_MAX\_TRADE\_ERROR     | 400         | Amount above maximum trade limit       |
| INVALID\_AMOUNT\_ERROR       | 400         | Invalid investment amount              |
| TOKEN\_NOT\_FOUND\_ERROR     | 404         | Token not found                        |
