> For the complete documentation index, see [llms.txt](https://tri.gitbook.io/tri-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tri.gitbook.io/tri-doc/liquidity-pool/get-markup.md).

# Get Markup

### Liquidity Pool

<mark style="color:blue;">`GET`</mark> <https://sandbox.triangle.digital/api/v2/liquidity\\_pool/clients/{client\\_id}/markup>

Answers the markup of a Business account — the amount added to the total of every purchase made for its Carbon Pool companies and Individual Consumptions. It is set with [Set Markup](/tri-doc/liquidity-pool/set-markup.md); what it changes in a purchase is described there.

The answer is the markup resource itself, without the `{message, success, data, operations_count}` envelope. Errors are answered as `application/problem+json` with `title`, `status`, `code` and, when there is more to say, `detail`.

**Path parameters**

<table data-full-width="true" data-search="false"><thead><tr><th width="230">Name</th><th width="110">Type</th><th>Description</th><th width="210">Where to take it from</th></tr></thead><tbody><tr><td><code>client_id</code></td><td>integer</td><td><strong>Required.</strong> The client whose markup is read — a Business account.</td><td><a href="/tri-doc/liquidity-pool/get-clients.md">Get Clients</a> — <code>client_id</code></td></tr></tbody></table>

**Headers**

<table data-full-width="true"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr></tbody></table>

**Query parameters**

<table data-full-width="true" data-search="false"><thead><tr><th width="200">Name</th><th width="110">Type</th><th>Description</th><th width="260">Example</th></tr></thead><tbody><tr><td><code>hash</code></td><td>string</td><td><strong>Required.</strong> API key.</td><td>fk5f0iuy-rr06-j4x3-i75b-fy2s67s4ilo1</td></tr></tbody></table>

**Response fields**

<table data-full-width="true" data-search="false"><thead><tr><th width="230">Field</th><th width="110">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>markup</code></td><td>object</td><td>The markup in force. <code>null</code> when the client has none.</td></tr><tr><td><code>markup.type</code></td><td>string</td><td>One of: <code>percent</code> — a percentage of the purchase total; <code>usd</code> — a fixed amount in USD per payment.</td></tr><tr><td><code>markup.value</code></td><td>string</td><td>The size of the markup as a decimal string: two decimals for both types: <code>"2.50"</code> is 2.5% for <code>percent</code>, <code>"10.00"</code> is $10.00 for <code>usd</code>.</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}
{% code fullWidth="false" %}

```json
{
    "markup": {
        "type": "percent",
        "value": "2.50"
    }
}
```

{% endcode %}

No markup is set:

{% code fullWidth="false" %}

```json
{
    "markup": null
}
```

{% endcode %}
{% endtab %}

{% tab title="404" %}
The client does not exist, is not available to the API key, or is not a Business account.

```json
{
    "title": "Client not found",
    "status": 404,
    "code": "not_found",
    "detail": "The client is not a Carbon Pool Partner."
}
```

{% endtab %}
{% endtabs %}
