← Traxivo for Payments · Use case 03 of 11

Use case · Payments · Phantom Refunds

AI Support Agents Confirming Refunds That Never Settle

A billing provider changes how partial refunds respond. The support agent's tool wrapper reads any 2xx as success and tells customers their refund is processed. Some refunds are later cancelled, and the cancellations go to a webhook that was retired months ago.

ReportedAgent: refund processed
ActuallyRefund cancelled, never paid

The agent did not crash and did not hallucinate. Its tool returned 201, its wrapper treated any 2xx as success, and it told the customer the refund was processed. The refund was pending, and some pending refunds were later cancelled. The cancellation events went to a retired webhook that answers 410 Gone, so no system on the receiving side recorded that the promise had been broken.

Key takeaways
  • A 2xx means the request was accepted, not that the outcome happened. Agents that confuse the two make promises at scale.
  • The evidence sits in five places: agent traces, billing events, gateway logs, tickets in three queues and chargebacks in the finance inbox.
  • The eval case is simple to state: say initiated, not processed, until a settlement event arrives.
The published numbers
75%of card disputes go straight to the card issuer, bypassing the merchantJavelin Strategy & Research, reported by a chargeback vendor, 2026
more than four dollarslost by merchants for every dollar disputed, once fees, stock and handling are countedChargeback vendor field report, 2026
$34 billiontotal value of chargebacks worldwide in 2025Datos Insights, cited by a chargeback vendor, 2026

The agent told the truth as far as it knew it

A support AI agent handles cancellations and issues refunds through the billing provider. It has done this reliably for months. Then the provider releases a new API version. Partial refunds on annual plans now return 201 with a status of pending rather than an immediate success, and a share of those pending refunds are cancelled later by the provider's own checks.

The agent's tool wrapper was written when every 2xx meant done, and as far as the wrapper is concerned it still does. The agent receives a success and tells the customer: your refund has been processed.

When a pending refund is cancelled, the provider sends an event to say so. It goes to the webhook endpoint registered for billing events, which was retired in an earlier migration and now answers 410 Gone. The provider logs a failed delivery. On the receiving side, the gateway logs a 410 on a path nobody watches any more, and nothing else happens.

This is worth pausing on, because it is the opposite of the failure most teams test their agents for. The agent reasoned correctly from the information it had. The defect sits in the tool wrapper and the webhook, two pieces of plumbing no agent eval was ever written to cover.

Why nothing looks wrong

  • Agent evals score well: the agent follows policy, calls the right tool and phrases the confirmation correctly.
  • API success rates are excellent. Every refund call returned 2xx.
  • The incident queue is empty, because 410s on a retired path are nobody's alert.
  • Support tickets saying “still no refund” are real, but they arrive in three queues (billing, cancellations, general), each tagged differently, so no queue sees a pattern.
  • Chargebacks arrive in the finance inbox one at a time, weeks later, from customers who gave up waiting.

Meanwhile support leads quietly start a shared spreadsheet of manual refunds. That spreadsheet is the organisation noticing, without anyone having named the problem.

The signals that have to be read together

No single source proves this. Together they are unambiguous:

  1. agent traces where the refund response status was pending and no settlement event ever followed
  2. billing provider cancellation events for the same refunds
  3. gateway logs showing those events delivered to a retired path and answered with 410
  4. “still no refund” tickets from the same customers, across all three queues
  5. chargeback notices for customers in the same set, and the manual refund log

The webhook half of this is a familiar failure in its own right, covered in webhook delivery failures. What is new is the agent on top, turning a missed event into a sentence spoken to a customer.

A 2xx is not a business outcome

Most integration code was written for APIs that either did the thing or failed. Asynchronous outcomes break that assumption quietly. When an AI agent sits on top of the call, the gap stops being a data problem and becomes a promise made to a customer, in your company's name, that nobody intends to keep.

Sizing it

The unit of loss is refunds promised but never paid, plus what follows from them. For your own business:

  1. Count agent confirmations since the provider change where no settlement event arrived.
  2. Multiply by the average refund amount to get the value promised and not delivered.
  3. Add chargebacks from that set, at the dispute fee plus handling time.
  4. Add the hours spent on manual refunds, which the spreadsheet is already counting for you.

Why it is the second time

An earlier API change probably caused a smaller version of this months ago: a handful of complaints, patched with manual refunds and closed with no root cause recorded. Nobody added a check that confirmations wait for settlement, so the next change found the same wrapper making the same assumption.

What fixes it

  • Agent platform team: treat pending as pending in the tool wrapper, and point the billing webhook at a live endpoint.
  • Billing provider: an escalation with dated evidence of the behaviour change and a request for the changelog.
  • Support operations: a list of affected customers to refund properly, before more of them dispute.
  • The agent's next release: an eval case it must pass. The agent says “initiated”, not “processed”, until a settlement event arrives. Replayed against the production failures, the current release fails every one, which is exactly why the case belongs in the release gate.

Where Traxivo fits

Traxivo reads agent traces, billing events, gateway logs, tickets and email through read-only connections and links them into one issue, so the three ticket queues and the finance inbox stop being separate stories. It recognises the earlier incident, names the owners, drafts the provider escalation for a named person to approve, and turns the failure into an eval case for the agent's next release. Phantom refunds are one of the payments failure patterns we cover, and the agent-says-done, outcome-failed shape appears across every industry.

Built for your niche

The ten use cases on the Traxivo for Payments page are the ones most payments and commerce estates share. Your niche will have failures of its own. We build custom solutions for those on top of the same platform: connectors for the feeds only your niche has, detection for the pattern only your estate shows, and the loss counted in your own unit. The same approach extends to niches such as stored-value and gift card programmes, fuel forecourts and unattended kiosks, restaurant and hospitality point of sale and marketplaces paying out sellers.

Tell us about your niche →

Sources

  1. Javelin Strategy & Research, reported by a chargeback vendor. What Mastercard’s Chargeback Research Can Tell Us About Improving the Dispute Process, 2026.
  2. Chargeback vendor field report. Chargebacks are Quietly Raising Prices for Everyone, Chargebacks911 Study Finds, 2026.
  3. Datos Insights, cited by a chargeback vendor. What Mastercard’s Chargeback Research Can Tell Us About Improving the Dispute Process, 2026.

Every figure on this page comes from the published source it is linked to and describes the industry at large. None is a Traxivo or customer result.

Frequently asked questions

Why would an AI agent confirm a refund that never happened?

Because its tool reported success. If the wrapper around a refund API treats any 2xx response as completion, a pending refund looks identical to a settled one, and the agent confirms it in good faith.

How do retired webhooks hide failures?

Events sent to a retired endpoint fail and are usually recorded only as a failed delivery on the sender's side and a 410 in a gateway log nobody watches. The cancellation, reversal or failure notice simply never reaches anyone who would act on it.

What eval case prevents this?

One that replays real refund conversations and requires the agent to say a refund is initiated, not processed, until a settlement event has been received.

Stop rediscovering the same integration failure

Traxivo links the alerts, tickets and email threads your teams already produce into one history per issue, recognises when a fault returns, and drafts the follow-up with the evidence attached. Nothing is sent until a person approves it.

See how Traxivo works See Traxivo for Payments