Agentic Pay Needs a Bank Limit Outside the Model
TrueLayer and Papa Johns piloted agentic Pay by Bank with a customer spending limit enforced outside the LLM—the pattern AI apps should copy.
By Muhammad Saif and Aashan Khan · Techtribe co-founders
Agentic pay needs a bank limit outside the model. On 27 November 2026, TrueLayer and Papa Johns piloted AI checkout with Pay by Bank in the UK: an agent helped place an order and paid from a linked bank account, while the customer set a spending limit with their bank when linking the account. Banks in the pilot included Lloyds and NatWest. The part that matters for AI app developers is not the pizza—it is that the spending limit is enforced outside the LLM.
This note is for teams building agents that can spend money. It feeds AI agent development. It pairs with your AI agent can refund without approval: refunds and payments both need controls the model cannot sweet-talk away. Package when you are hardening agent money paths: Production MVP.
What the pilot demonstrates
A customer-linked bank payment rail. An agent that can complete checkout steps. A spending limit set with the bank at link time. The limit is a property of the payment rail and bank controls, not a sentence in a system prompt. That separation is the design lesson.
Why prompt-level spending caps fail
Models forget. Models get injected. Models optimize for being helpful. A prompt that says never spend more than fifty pounds is a suggestion. A bank-enforced limit, a payment API that rejects over-limit payments, and a merchant system that never holds a credential capable of unlimited pull—these are controls. Build the controls in code and in the rail.
Architecture pattern for agentic checkout
Separate browse and decide from pay. The agent may assemble the cart and propose payment. The payment execution uses a tokenized rail with hard limits and strong customer authentication as required. Log the agent proposal and the rail response under one request id. Do not give the model a raw account credential.
Checks before your agent can pay
Where is the spending limit enforced. Who can raise it. What happens when the agent proposes an over-limit cart. What auth step the human sees. What credentials the model path can access. How refunds and chargebacks are handled. Which tenant owns the payment. What audit trail finance gets.
Failure modes
Unlimited payment credentials in the tool belt. Limits only in prompts. Shared credentials across tenants. No human step on first link of a bank account. Silent retries that double-charge. Agents that can change the payout destination. Logging that stores full account numbers.
What does not hold
The model is aligned so it will not overspend does not hold. We will add limits after the pilot does not hold for production money. Copying the TrueLayer headline without the bank-side limit does not hold as an architecture. Treating Pay by Bank as identical to card PANs in your threat model does not hold—map the rail you actually use.
Buyer situations: agentic payments
Support agent that can issue refunds and now wants to place orders
Different tools, same rule: irreversible money moves need gates outside the model. Split credentials.
Procurement agent for internal orders
Company spending limits belong in the ERP or card program, not in a prompt. The agent proposes; policy systems dispose.
Consumer agent buying across merchants
Per-merchant tokens with low limits beat one god-credential. Re-auth on limit changes.
Pilot success mistaken for production readiness
A controlled pilot with named banks is evidence of a pattern, not a blank cheque to skip threat modeling.
Operating checklist for agentic pay systems
Use this list in kickoff. If an item is undecided, write the decision date next to it. Undated decisions become silent scope.
- Rail and limit enforcement owner
- Linking and re-auth flows
- Tool credential matrix
- Over-limit UX
- Refund and dispute path
- Tenant isolation on payment objects
- Audit fields for finance
- Kill switch for the pay tool
Evidence you should see by the end of week two
A staging URL your stakeholders can open without a vendor VPN. At least one failing eval or acceptance case that was fixed. A written cut list. Access logs showing work in your org. A cost note for model spend in staging. If the vendor cannot show these, you are still in workshop mode.
How to refuse scope without killing the relationship
Say the outcome you want next quarter. Say what will wait. Put both in the weekly note. Buyers who never refuse become the bottleneck; vendors who never refuse ship mush. A healthy agentic pay systems engagement has visible refusals in the first month.
Handoff artifacts that actually transfer
Architecture one-pager. Env var list. Runbook for the top three failures. Eval case folder. Who owns prompts. Who owns cloud roles. Record a fifteen-minute loom walking the happy path and one failure. Do not rely on tribal knowledge in a Slack DM history you will lose.
Relation to human-in-the-loop
Bank limits reduce blast radius. They do not replace approvals where your policy needs a human for certain categories. Use both: rail limits for hard ceilings, approval seats for judgment. See the refund approval post for pending-action design.
UK-specific notes from the pilot framing
Open banking style Pay by Bank brings bank-grade customer authentication into the flow. If you build outside the UK, map the equivalent rail and regulators. Do not assume every market has the same limit-at-link pattern—design for the rail you integrate.
Sibling links
AI agent development. Agent refund approval. Secure AI agents practices for broader controls.
Eval cases for money agents
Include over-limit carts, injected instructions to ignore limits, wrong-tenant payment attempts, double-submit retries, and refund-after-pay races. If these are not in the suite, you do not have an eval suite for payments.
If this is your app, send the repo.
A 30-minute scope call. We read what is live, name what is dangerous, and quote a fixed scope.
How Techtribe hardens agents that can spend
We design tool allow-lists, pending actions, and payment rail limits as part of AI agent development, usually under a Production MVP or Dedicated Team when money paths already exist. Bring the tool list and the rail docs to the call. Packages: packages.
Threat model bullets for payment agents
Stolen tool credentials. Prompt injection ordering goods. Cross-tenant payment. Limit-raising social engineering against a human admin. Double capture on retries. Log leakage of account identifiers. Write mitigations next to each bullet.
Product copy that sets expectations
Tell users a spending limit exists and where to change it. Surprises at the bank app are better than surprises after a large order—but product UI should still explain the agent’s authority.
Decision logs in practice (1)
Record architecture choices with date, owner, and rejected alternatives. Future engineers should see why a rail, a model, or a host region won.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Access reviews in practice (2)
Every thirty days list who can deploy, who can read production logs, and who can raise spending limits. Remove leavers the same week they leave.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Incident drills in practice (3)
Run a tabletop on model outage, payment rail failure, or CDP compromise. Write the gaps into the backlog before customers find them.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Vendor exits in practice (4)
Practice revoking the agency role in staging. If the app dies, handoff failed while you still have time to fix it.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Cost reviews in practice (5)
Weekly provider spend versus forecast, with one owner. Surprise bills destroy trust faster than a missed lint job.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Eval freshness in practice (6)
Retire stale cases quarterly. Add cases from real failures within a week of the incident.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Change freezes in practice (7)
Define when you do not ship AI or payment changes. Holidays and major launches need explicit freezes.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Customer comms in practice (8)
Who speaks if an agent overspends or a personalization store is patched urgently. A named owner beats a scramble.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Backup owners in practice (9)
Every primary owner needs a deputy. Travel across Dubai, London, or US coasts makes this non-optional.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Documentation homes in practice (10)
One folder in the repo for runbooks and ADRs. Slack is not a documentation home.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Security questionnaires in practice (11)
Keep a living answer bank. Do not invent SSO answers mid-deal.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Release notes in practice (12)
Customer-facing notes for workflow changes. Internal notes for prompt and tool changes.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Decision logs in practice (13)
Record architecture choices with date, owner, and rejected alternatives. Future engineers should see why a rail, a model, or a host region won.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Access reviews in practice (14)
Every thirty days list who can deploy, who can read production logs, and who can raise spending limits. Remove leavers the same week they leave.
Expand the practice with concrete artifacts: a checklist in the repo, a calendar reminder, and a named reviewer. For this engagement, tie the artifact to the primary intent of the page so the section stays useful in sales and delivery conversations. Review the artifact in the weekly demo when it changed. If it did not change for a month, either it is stable or it is abandoned—ask which. Abandoned controls are how limits, patches, and overlap windows quietly disappear while everyone assumes someone else is watching.
Questions
What did the TrueLayer Papa Johns pilot show?
An AI agent helped place an order paid from a linked UK bank account, while the customer set a spending limit with their bank at link time—enforced outside the model.
Why aren’t prompt spending caps enough?
Models can forget, be injected, or optimize for helpfulness. Hard limits belong in the payment rail and credentials the model cannot override.
How does this relate to refund approvals?
Refunds and payments are both irreversible money moves. Use rail limits for ceilings and human approval seats for judgment calls.
What should we bring to a hardening call?
The agent tool list, which tools move money, where limits live today, and the payment rail docs you use or plan to use.