> For the complete documentation index, see [llms.txt](https://3commas.gitbook.io/3commas-official-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://3commas.gitbook.io/3commas-official-api-docs/smarttrade/6.-available-reduce-funds.md).

# Available reduce funds

**Description:** Shows information about available amount to reduce funds<br>

{% hint style="warning" %}
The endpoint is available for SmartTrades with status `waiting_targets`. Use the endpoint Get SmartTrade to check a status SmartTrade.
{% endhint %}

\ <br>

**Permission:** SMART\_TRADES\_WRITE\
**Security:** SIGNED\ <br>

## Path Parameters<br>

| Name   | Type      | Mandatory | Values | Description                                  |
| ------ | --------- | --------- | ------ | -------------------------------------------- |
| **id** | `integer` | Yes       |        | Unique 3Commas ID for this SmartTrade entity |

\ <br>

## Parameters response<br>

| Name                           | Type     | Description                                                      |
| ------------------------------ | -------- | ---------------------------------------------------------------- |
| **max\_reduce\_funds\_amount** | `string` | The maximum amount available to reduce funds for this SmartTrade |

\ <br>

## Example Request<br>

```json
GET /v2/smart_trades/12345678/reduce_funds_info
```

\ <br>

## Example Response and errors<br>

<details>

<summary>Status: 200 OK</summary>

<br>

```json
{
    "max_reduce_funds_amount": "28.819532219570405727923627685"
}

```

</details>

<details>

<summary>Status: 400 Bad request</summary>

<br>

```json
{
    "error": "Wrong param(s)",
    "error_description": "Reduce funds is not allowed in the current status"
}
```

</details>

<details>

<summary>Status: 404 Not found</summary>

<br>

```json
{
    "error": "Not found",
    "error_description": "Smart Trade not found"
}
```

</details>
