deasknotes on agent authorization
deask/notes/№07

What does the bank know about your agent?

You agreed to one supplier and €500 a month. The bank got an API key.

Nov 25, 2026·4 min read·noteagentspaymentsdelegation
What travels with one invoice paymentFour boxes left to right: you, the billing agent, the payments API at your bank, and the receiving bank that holds IBAN LV…9876. You give the agent payee Supplier Co and a limit of €500 a month. The agent sends the payments API a key, the IBAN LV…9876 and €120. The payments API sends the receiving bank a SEPA Instant transfer to LV…9876 for €120. Your authorization never leaves the agent.payee:Supplier Colimit:€500/monthkey:sk_live_…to:LV…9876amount:€120rail:SEPA Instantto:LV…9876amount:€120 Yourun the business Billing agentpays your invoices Payments APIat your bank Receiving bankholds LV…9876
fig 1Your authorization reaches the agent and stops there. After that, every hop carries a key, an IBAN and an amount, and nothing that says who you agreed to pay.

Say you let an agent pay your supplier invoices. One supplier, up to €500 a month. It reads the invoice, checks the amount and pays through your business account's API.

One morning an email arrives from the supplier. They changed banks, please use the new IBAN from now on. The agent updates the payee and pays the €120 invoice.

The email wasn't from the supplier.

Every hop authenticated. The API key was valid, the account had the money, the transfer landed in ten seconds. Nobody along the way knew what you had actually agreed to.

What each hop knows

The figure at the top shows what arrives at each step of that payment. The agent is the only part of the system that knows your authorization. It is also the part that just read an email from a stranger and believed it.

This is the same problem as any delegated request that loses its context on the way down. Money just makes it easier to see who pays for the mistake.

The bank does check something

Since October 2025, euro-area banks must offer Verification of Payee on every credit transfer. Before the payment goes out, your bank asks the payee's bank whether the name matches the IBAN. The answer is match, close match or no match.

So if the scammer's account isn't in the supplier's name, the bank notices.

And then it tells the payer. The payer can still go ahead after a no match - it is a warning, not a block.

Here the payer is the agent. The warning designed to make a person stop and think goes back to the software that was just fooled. Whether it stops depends on how someone wrote the agent's error handling, haha.

What the payments API checksThe payments API at your bank checks four things before sending €120. Valid API key: pass. Enough balance: pass. Name matches IBAN: no match, sent back to the agent. Payee matches your authorization: not asked. Result: €120 sent.PAYMENTS API · BEFORE SENDING €120valid API key PASSenough balance PASSname matches IBAN NO MATCHsent back to the agentpayee matches your authorizationNOT ASKEDresult SENT €120
fig 2What the payments API checks before it sends the €120. The one question that would have stopped the payment is not on the list.

The authorization already has a format

This is the part that surprised me. The mandate I want - this payee, this much, this often - already exists as a data structure.

Google's AP2 defines a payment mandate you sign in advance. It can list allowed payees, a budget, a recurrence like "monthly" and an amount range. It also names the agent's key, so a payment signed by some other software doesn't count. Payment credentials are only issued after the mandate checks out.

Card networks are doing something similar from their side. Mastercard issues tokens scoped to one agent, with spending limits and allowed merchants. Visa has a protocol for merchants to verify an agent's signature.

Pay-per-request protocols like x402 are the other end. The payment carries a wallet address and that's it. The spec lists budgets as out of scope and "implementation-specific".

So the format exists. What's missing is a reason for the party moving the money to look at it. If the agent calls a business banking API with a key that can make payments, there is no step where anyone asks for a mandate. The business APIs I looked at scope keys by what they can call, like read or write. Approval rules, where they exist, are a separate setting.

So who should check it?

I think the account provider. It holds the money, executes the transfer and is the last party that can say no. After that, a SEPA Instant payment is done in ten seconds, and getting it back is a favour, not a right.

It is also the obvious place to keep the running total. If two agents draw on the same €500, someone has to count, and I wrote about that already.

In practice that would mean a key that can only pay what a signed mandate allows. The provider checks the payee and the month's total before the transfer, and a new IBAN goes back to a person, not to the agent's retry loop.

What it should write down

When something goes wrong, the first question is "who allowed this?". The record should answer it without anyone reading chat logs:

  • which agent made the request, and for whom;
  • which mandate it relied on;
  • what the provider checked, including the payee verification result;
  • what it decided.

If the agent times out and retries, the second attempt should point at the same mandate and the same payment. Otherwise the log shows two decisions where there was one, and the second one might even be approved.

Wrapping up

The pieces mostly exist. A mandate format, payee verification, scoped card tokens. They just meet in the wrong places. The authorization lives with the agent, the warning goes back to the agent, and the party that can actually stop the money only sees a valid key.

If someone already sells a business account where an API key is bound to a payee list and a monthly limit, this note becomes a product recommendation. I would genuinely like to hear about it.

end of №07 · Nov 25, 2026