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 section follows conventions of its own, described on its page.
Endpoints
Clients available to the API key, with their totals
Invoices of a client
Adds invoices of a client
Changes one invoice
Calculated CO2e — AI Compute providers, models and estimation — a section of its own
Deletes one invoice
Adds an employee
Changes the details of an employee
Employees of a client
Deletes an employee that has nothing attached to it
Card-entry link for an employee
Removes the credit card of an employee or Individual Consumption
Preview of an invoice purchase
Buys the carbon pool quantities of invoices
Invoice purchase paid over the Multi-Token Network
Carbon pool records available for purchase
Buys selected carbon pool records
Holds the QTY of selected pool records for 10 minutes
Holds the QTY an invoice purchase will pull, for 10 minutes
Frees a QTY hold before it runs out
Adds a Carbon Pool company (Business accounts)
Carbon Pool companies of a client (Business accounts)
Adds an Individual Consumption (Business accounts)
Individual Consumptions of a client (Business accounts)
Card-entry link for an Individual Consumption (Business accounts)
Enrols a MasterCard card for an employee or Individual Consumption — two calls
Removes the MasterCard card and revokes its consent
Transaction notifications of a MasterCard card
Carbon Pool purchases of a client, newest first
Spending Capacity balances — a section of its own