Usage before the bill
The founder asks how Acme's usage is tracking before month end. Memtro reads Acme's subscription and current usage: 1.2 million API calls so far, 2,340 dollars, against last month's invoice of 1,980.
Ask Lago which invoices are overdue and what a customer has used this period.
Connect Lago with an API key and Memtro reads customers, invoices with payment status, subscriptions, payments, credit notes and usage this period. The key carries the whole organisation's rights, and there is no hourly sync. When you ask, and once an administrator has granted them by name, it can manage customers, plans, coupons, wallets and subscriptions, and send usage events. Many of these move money: finalising or issuing an invoice may email and charge the customer, retrying a payment charges their card, voids and credit notes can refund, and a payment request emails them.
Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right Lago tool, reads what it needs, and answers with the source cited.
These tools change something in Lago. The model is told to use them only when you ask for exactly that, and an administrator grants each one by name to the teams that may use it; a personal connection acts only after its owner allows it.
Turn events on in the connection's Events tab on the Connections page, choose the kinds you want, and Memtro registers its address with Lago for you. Each event can start a job, with the event as its input, and can be remembered where you choose. Lago signs every delivery, and one whose signature does not check out is refused before it is read.
Events and webhooksOnce Lago is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.
Which invoices are overdue, and for how much?
How much usage has Acme run up this billing period?
Which customers are on the Growth plan?
Issue a credit note for the duplicated fee on the Brightwave Ltd invoice
Send Northwind a payment request for their two overdue invoices
The founder asks how Acme's usage is tracking before month end. Memtro reads Acme's subscription and current usage: 1.2 million API calls so far, 2,340 dollars, against last month's invoice of 1,980.
Support finds BigCo was charged twice for one fee. Priya Sharma asks Memtro to issue a credit note refunding it. With the action granted, Memtro reads the invoice's fees and issues the credit note for that fee only, and Lago refunds the amount through the payment provider. BigCo may be emailed the credit note.
The teams that lean on Lago most, a question each of them asks, and what they connect beside it.
A record in Lago is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.
Using something else for the same job, or both? Each connector has its own tools; connect as many as you like.
In Lago open Developers → API keys and reveal the organisation's key. Lago has no read-only or scoped keys, so it carries the whole organisation's rights, and an extra key just for Memtro is a premium feature
Test and live are separate organisations with separate keys: copy the one you mean, and consider granting the money-moving actions on the test organisation first
Paste the API key into Connections → Lago in Memtro. Leave API host blank for Lago Cloud US, type api.eu.getlago.com for the EU, or your self-hosted API host name only, public with a trusted certificate
Ask which invoices are overdue
Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The Lago tools are the same everywhere.
Only when you ask, and only what it has been granted: create a customer when no customer has that external id; overwrite a customer's name, legal name, email or website; send a billable usage event to a subscription; delete a customer, terminating their subscriptions; finalize a draft invoice (numbers it, may email and charge the customer); void an invoice, optionally with a credit note and refund; refresh a draft invoice's amounts; retry generating a failed invoice; retry collecting payment on an invoice; issue a credit note on an invoice (credit, refund or offset); create a coupon; apply a coupon to a customer; create a prepaid-credit wallet for a customer; top up a wallet with paid or granted credits; subscribe a customer to a plan; cancel (terminate) a subscription; change a subscription's name, end date or plan overrides; issue a one-off invoice for add-ons (not sent for payment unless asked); record a manual payment on an invoice; email a customer a payment request for overdue invoices; set an invoice's payment status or metadata; delete a draft invoice permanently; create a plan; change a plan's name, price or trial (affects its subscribers); delete a plan with no subscriptions; create an add-on; create a billable metric; change a coupon; delete a coupon; terminate a wallet; void the remaining credit of a credit note. Every other tool reads, searches or lists. The Connections page labels the tools that act, an administrator grants each one by name to the teams that may use it, and a personal connection acts only after its owner allows it.
A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.
Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded.
API key. In Lago open Developers → API keys and reveal the organisation's key. Lago has no read-only or scoped keys, so it carries the whole organisation's rights, and an extra key just for Memtro is a premium feature.
Yes. Turn events on in the connection's Events tab on the Connections page, choose the kinds you want, and Memtro registers its address with Lago for you. A job set to start "When an event arrives" then runs once for each matching event, with the event as its input. The run treats the event as outside data, never as instructions, and anything the run remembers is kept as unverified.
Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.
Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.
7-day free trial · card on file, nothing charged until it ends · cancel any time