Lemon Squeezy + Memtro

Orders, subscriptions, customers and licence keys from Lemon Squeezy, with refunds and changes when you ask.

Connect Lemon Squeezy with an API key and Memtro reads stores, products, orders with totals and refunds, subscriptions, customers, discount codes and licence keys in short form. Every hour the sync writes each new order into memory. When you ask, and once an administrator has granted each action by name, it can refund orders and subscription invoices, cancel, pause or change subscriptions, create checkout links and discount codes, manage customers and licence keys, and generate invoices. A refund moves money back to the customer and cannot be undone, and a plan change can charge them.

In Memtro

What you can do with Lemon Squeezy in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right Lemon Squeezy tool, reads what it needs, and answers with the source cited.

What it does

  1. 01Stores with lifetime and 30-day revenue, and products with variants, prices, intervals and trials
  2. 02Orders by customer email, order number, status or date, with totals, tax, discount and refund state
  3. 03Subscriptions by status, customer, product or variant, with renewal date, trial end, pause and cancellation
  4. 04Customers with lifetime revenue and MRR, discount codes, and licence keys in short form with activations used
  5. 05When asked and granted, refunds an order or subscription invoice in full or in part, which cannot be undone, and cancels, pauses, resumes or changes a subscription's plan, quantity or usage, which can charge or credit the customer
  6. 06When asked and granted, creates checkout links, discount codes and customers, permanently deletes a discount code, changes or disables a licence key, archives a customer, and generates an order invoice to download

Acts when asked

When you ask it to

These tools change something in Lemon Squeezy. 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.

  1. 01Create a checkout link for a variant, optionally prefilled or at a custom price
  2. 02Refund an order in full or in part (moves money back to the customer)
  3. 03Refund a subscription invoice in full or in part (moves money back to the customer)
  4. 04Cancel a subscription at the end of its period
  5. 05Change a subscription's plan, pause or unpause it, resume a cancelled one, or move its trial end or billing day
  6. 06Change the quantity on a quantity-billed subscription item
  7. 07Report usage on a usage-billed subscription item
  8. 08Create a discount code
  9. 09Delete a discount code permanently
  10. 10Create a customer
  11. 11Update a customer's name, email or location, or archive them
  12. 12Change a license key's activation limit or expiry, or disable it
  13. 13Generate a downloadable invoice for an order

Events

When it happens

Turn events on in the connection's Events tab on the Connections page, choose the kinds you want, and Memtro registers its address with Lemon Squeezy for you. Each event can start a job, with the event as its input, and can be remembered where you choose. Lemon Squeezy signs every delivery, and one whose signature does not check out is refused before it is read.

Events and webhooks
  • 01A new order was placed
  • 02An order was refunded in full or in part
  • 03A customer's details changed
  • 04A new subscription started
  • 05A subscription changed
  • 06A subscription was cancelled (active until its billing date)
  • 07A cancelled subscription was resumed
  • 08A subscription expired
  • 09A subscription's payment collection was paused
  • 10A subscription's payment collection resumed
  • 11A subscription payment succeeded
  • 12A subscription renewal payment failed
  • 13A subscription was paid after a failed payment
  • 14A subscription payment was refunded
  • 15A license key was created
  • 16A license key was updated
  • 17An affiliate was activated
In practice

Ask it like you would a colleague

Once Lemon Squeezy 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.

Lemon Squeezy + Memtro
  • What did we sell last week, and how much was refunded?

  • Has jonas@pixelforge.dev bought anything, and is his subscription still active?

  • Which subscriptions are past due or unpaid?

  • How many activations has the licence key for order #10482 used?

  • Refund order #10482 in full

01

The lost receipt

A customer emails saying they cannot find their receipt. Memtro finds the order in Lemon Squeezy by their email, shows what they bought, the total and the receipt link, and whether their licence key is active and how many activations remain.

02

A refund, when asked

Jonas from Pixelforge bought the wrong plan and asks for his money back. Elena Rossi in support asks Memtro to refund order #10482 in full. Memtro reads the order, confirms the total with her and refunds it in Lemon Squeezy, so the money goes back to Jonas. The refund cannot be undone.

Teams

Where it fits

The teams that lean on Lemon Squeezy most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in Lemon Squeezy 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.

Setup

How to connect

Connect withAPI key
  1. 1

    In Lemon Squeezy open Settings → API → Create API key. Keys are valid for a year, and a key made while Test mode is on only sees test-mode data

  2. 2

    In Memtro open Connections → Lemon Squeezy, paste the API key and connect. If the account has several stores, add the Store id of the one to treat as the default

  3. 3

    The key is not scoped, so Memtro refunds or changes subscriptions only when you ask and an administrator has granted that action by name

  4. 4

    Ask what sold this week

Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The Lemon Squeezy tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in Lemon Squeezy?+

Only when you ask, and only what it has been granted: create a checkout link for a variant, optionally prefilled or at a custom price; refund an order in full or in part (moves money back to the customer); refund a subscription invoice in full or in part (moves money back to the customer); cancel a subscription at the end of its period; change a subscription's plan, pause or unpause it, resume a cancelled one, or move its trial end or billing day; change the quantity on a quantity-billed subscription item; report usage on a usage-billed subscription item; create a discount code; delete a discount code permanently; create a customer; update a customer's name, email or location, or archive them; change a license key's activation limit or expiry, or disable it; generate a downloadable invoice for an order. 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.

Who can use a Lemon Squeezy connection?+

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.

Does Memtro store my Lemon Squeezy data?+

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. An hourly sync anchors recently changed Lemon Squeezy records into memory as entities.

How do I connect Lemon Squeezy?+

API key. In Lemon Squeezy open Settings → API → Create API key. Keys are valid for a year, and a key made while Test mode is on only sees test-mode data.

Can Lemon Squeezy start a job?+

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 Lemon Squeezy 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.

Connect Lemon Squeezy in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

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