> 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.md).

# Liquidity Pool

API of the Carbon Pool: clients, their invoices, employees and Individual Consumptions, carbon pool purchases, and Spending Capacity balances.

**Authorization.** Every call carries the `hash` parameter with your API key.

**Answers.** The endpoints answer with the `{message, success, data, operations_count}` envelope; a refused call answers HTTP 400 with `success: false`. The [Balance](/tri-doc/liquidity-pool/balance.md) section follows conventions of its own, described on its page.

**Endpoints**

<table data-full-width="true"><thead><tr><th width="340">Endpoint</th><th>What it does</th></tr></thead><tbody><tr><td><a href="/tri-doc/liquidity-pool/get-clients.md">Get Clients</a></td><td>Clients available to the API key, with their totals</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-invoices.md">Get Invoices</a></td><td>Invoices of a client</td></tr><tr><td><a href="/tri-doc/liquidity-pool/create-invoice.md">Create Invoice</a></td><td>Adds invoices of a client</td></tr><tr><td><a href="/tri-doc/liquidity-pool/edit-invoice.md">Edit Invoice</a></td><td>Changes one invoice</td></tr><tr><td><a href="/tri-doc/liquidity-pool/carbon-equivalent-reporting.md">Carbon Equivalent Reporting</a></td><td>Calculated CO<sub>2</sub>e — AI Compute providers, models and estimation — a section of its own</td></tr><tr><td><a href="/tri-doc/liquidity-pool/delete-invoice.md">Delete Invoice</a></td><td>Deletes one invoice</td></tr><tr><td><a href="/tri-doc/liquidity-pool/create-employee.md">Create Employee</a></td><td>Adds an employee</td></tr><tr><td><a href="/tri-doc/liquidity-pool/edit-employee.md">Edit Employee</a></td><td>Changes the details of an employee</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-employees.md">Get Employees</a></td><td>Employees of a client</td></tr><tr><td><a href="/tri-doc/liquidity-pool/delete-employee.md">Delete Employee</a></td><td>Deletes an employee that has nothing attached to it</td></tr><tr><td><a href="/tri-doc/liquidity-pool/add-credit-card.md">Add Credit Card</a></td><td>Card-entry link for an employee</td></tr><tr><td><a href="/tri-doc/liquidity-pool/delete-credit-card.md">Delete Credit Card</a></td><td>Removes the credit card of an employee or Individual Consumption</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-available-assets.md">Get Available Assets</a></td><td>Preview of an invoice purchase</td></tr><tr><td><a href="/tri-doc/liquidity-pool/purchase-assets.md">Purchase Assets</a></td><td>Buys the carbon pool quantities of invoices</td></tr><tr><td><a href="/tri-doc/liquidity-pool/payment-network.md">Payment Network</a></td><td>Invoice purchase paid over the Multi-Token Network</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-pool-list.md">Get Pool List</a></td><td>Carbon pool records available for purchase</td></tr><tr><td><a href="/tri-doc/liquidity-pool/buy-carbon-pool.md">Buy Carbon Pool</a></td><td>Buys selected carbon pool records</td></tr><tr><td><a href="/tri-doc/liquidity-pool/reserve-pool-price-qty.md">Reserve Pool Price QTY</a></td><td>Holds the QTY of selected pool records for 10 minutes</td></tr><tr><td><a href="/tri-doc/liquidity-pool/reserve-invoices-qty.md">Reserve Invoices QTY</a></td><td>Holds the QTY an invoice purchase will pull, for 10 minutes</td></tr><tr><td><a href="/tri-doc/liquidity-pool/release-reservation.md">Release Reservation</a></td><td>Frees a QTY hold before it runs out</td></tr><tr><td><a href="/tri-doc/liquidity-pool/create-company.md">Create Company</a></td><td>Adds a Carbon Pool company (Business accounts)</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-companies.md">Get Companies</a></td><td>Carbon Pool companies of a client (Business accounts)</td></tr><tr><td><a href="/tri-doc/liquidity-pool/create-individual-consumption.md">Create Individual Consumption</a></td><td>Adds an Individual Consumption (Business accounts)</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-individual-consumptions.md">Get Individual Consumptions</a></td><td>Individual Consumptions of a client (Business accounts)</td></tr><tr><td><a href="/tri-doc/liquidity-pool/add-credit-card-for-individual-consumption.md">Add Credit Card For Individual Consumption</a></td><td>Card-entry link for an Individual Consumption (Business accounts)</td></tr><tr><td><a href="/tri-doc/liquidity-pool/add-mastercard-card.md">Add MasterCard Card</a></td><td>Enrols a MasterCard card for an employee or Individual Consumption — two calls</td></tr><tr><td><a href="/tri-doc/liquidity-pool/delete-mastercard-card.md">Delete MasterCard Card</a></td><td>Removes the MasterCard card and revokes its consent</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-mastercard-transactions.md">Get MasterCard Transactions</a></td><td>Transaction notifications of a MasterCard card</td></tr><tr><td><a href="/tri-doc/liquidity-pool/get-carbon-transactions.md">Get Carbon Transactions</a></td><td>Carbon Pool purchases of a client, newest first</td></tr><tr><td><a href="/tri-doc/liquidity-pool/balance.md">Balance</a></td><td>Spending Capacity balances — a section of its own</td></tr></tbody></table>
