Latest investigations

Would your AI support bot close a $40 refund after paying $4?

Eight test cases for refund and account lockout decisions.

By Ehab Al Dissi · · Updated

The refund was marked successful
Approved refund $40
Recorded in the test ledger $4

$36 still owed in this case. Simulated refund in the AI Vanguard lab.

When should an AI support bot close a ticket?

Close a ticket only when the evidence shows the customer’s problem was resolved. Pending outcomes need a named owner and a deadline. Failed or conflicting outcomes go to someone who can act.

Close with proof
Match the refund to the original payment, approved amount and currency. For a lockout, verify fresh access to the affected app after recovery.
Wait with a deadline
Keep a pending refund or sign-in retry open. Record who owns the case and when they’ll check again.
Hand off with evidence
Send failed or mismatched refunds to Payments, failed access recovery to Identity, and suspected account takeover to Security. Route overdue cases to the named owner.

See the worked refund · See the worked lockout

Would your bot close the wrong ticket?

Give your bot the eight sample cases one at a time in a test environment. Enter its decisions below. For a quick practice run, enter what you would do yourself.

Download all eight cases and the answer key (CSV)

How to run this in a support pilot

Keep ticket writes off. Give the bot one case’s evidence at a time, with the answer key withheld. Ask for a decision, the record it relied on, and the next owner or recheck time. Mark any early closure as a rollout blocker. After changes to the bot or its integrations, rerun the same cases and compare the results.

  1. The $40 refund shows $4

    The approved refund is USD 40. The provider says succeeded. One distinct ledger entry against the original payment shows USD 4.

    See expected decision

    Hand off. Payments reviews the USD 36 shortfall against the original payment. Keep the ticket open.

  2. One refund was posted twice

    The approved refund is USD 40. Two distinct USD 40 refunds succeeded against the same payment for the same request.

    See expected decision

    Hand off. Payments reconciles the two records. Keep the ticket open and give the reviewer both refund IDs.

  3. The refund is still pending

    The provider accepted the authorized USD 40 refund against the right payment. The refund is pending and the recheck deadline is still ahead.

    See expected decision

    Wait. Keep the ticket open. Record the owner and recheck time.

  4. The refund failed

    The authorized USD 40 refund is marked failed and the ledger has no matching posting.

    See expected decision

    Hand off. Send Payments the refund reference and failure reason. Have them check before anyone retries.

  5. One correct refund is confirmed

    One USD 40 refund for this request is confirmed against the original payment. The currency and amount match and there is no unresolved report of missing funds.

    See expected decision

    Close. Save the refund reference and state what the provider confirmed.

  6. The customer is about to retry

    Support verified the test user and completed approved recovery. The customer has yet to retry the affected billing portal. The recheck deadline is still ahead.

    See expected decision

    Wait. Keep the ticket open and ask the customer to retry the affected app. Record the recheck time.

  7. Reset complete. Access still denied

    The verified test account retried the billing portal after approved recovery and still received access denied.

    See expected decision

    Hand off. Send the open case to the identity team with the affected app, reset time and failed event reference.

  8. The customer can open the affected app

    After approved recovery, the billing portal records a fresh successful session for the verified account on this ticket.

    See expected decision

    Close. Record the evidence of restored access for the affected app and close the ticket.

Use these cases as a first check. Before a supervised pilot, rerun the test on your own ticket history with customer details removed.

Would you close this refund?

Our local test service accepted five simulated refund requests. Only one posted the right amount exactly once. The short refund and the duplicate both showed “success.” Read the raw output from all five runs. This exercise uses a separate split-refund case.

Fictional case: The shopper is owed $48 for order R-204. The bot says the full amount went through. Here’s what the payment provider shows.

10:15 · First payment update
Refund IDAmountStatus
RF-731$28 USDConfirmed
RF-732$20 USDPending

See the next payment update and worked answer
What changed in seven minutes
Refund ID and amount10:1510:22
RF-731 $28 USDConfirmedConfirmed
RF-732 $20 USDPendingConfirmed
Total confirmed$28 USD$48 USD

At 10:15, keep the case open. Tell the shopper the provider confirmed $28. Assign the pending $20 to payments and set a time to check again.

At 10:22, the merchant can close its refund action. The two expected refunds match the original payment and add up to $48. Give the shopper both references. Their bank may show the credit later.

The reset worked. Can the customer get in?

Illustrative pilot case. The customer can’t open the billing portal. Support verifies their identity and completes the approved reset at 09:10. At 09:12, the same account retries the billing portal and still gets “Access denied.”

See the worked answer and how to test it
  1. Wait at 09:10. Recovery is complete and the customer is about to retry. Keep the ticket open and set a recheck. For this example, use 09:25.
  2. Hand off at 09:12. The retry failed. Give Identity the ticket ID, affected account and app, reset time, failed event reference, and the next action. Ask them to check why the portal still denies access.
  3. Close only with fresh proof. Run the case again with a successful 09:12 retry. Close if the verified customer confirms the portal opens or the portal records a fresh successful session for that same account. A successful sign-in to another app leaves the billing portal case open.

Use a test account in a staging environment. Have the bot record what it would do before giving it permission to change live tickets. Replay four outcomes: retry pending, retry denied, access confirmed for the affected app, and success for a different app. Expect wait, handoff, close, and no closure, respectively. Advance the test clock past 09:25 with the retry still pending and expect a handoff.

Use the account, application and attempt time to match the evidence. Microsoft Entra sign-in log details

A chatbot can explain a refund policy correctly while the shopper’s refund is still pending. Those are separate jobs, and a support leader has to decide which one the vendor is promising to do.

Gorgias, a support vendor included in its own benchmark, refreshed its comparison of agents on live Shopify storefronts in November. Its methodology uses fresh browser sessions and blind scoring by a language model. It scores support on automation, quality and speed. That can show how an assistant handles a conversation. For a refund, I’d ask for evidence from the payment record too.

Add three cases to a sandbox demo

  1. Request accepted. The payment system has accepted a refund request and the posting is pending. The expected reply says it’s pending.
  2. Partial refund posted. Match the order, amount and currency. The customer should be told what posted and what is still due.
  3. Records disagree. The help desk says closed, but the payment record cannot confirm the refund. The expected result is a handoff with the case still open.

Score the answer and the transaction separately. If you’re comparing vendors, give each one the same fixtures and require the same proof before counting a case as resolved.

Read AI Vanguard’s guide to measuring real resolution.

Read the Gorgias benchmark and scoring method

What to reconcile before closing a refund

Start with the amount the customer is owed under the return decision. Match the order and original payment, check the currency, and add only distinct successful refund records. A repeated notification for the same provider refund ID adds zero. In a split payment, reconcile each tender separately.

Provider confirms only part of the amount
Keep the case open and name who will verify the balance. Tell the customer the amount the provider has confirmed.
Provider confirms the full amount
Record the refund references and tell the customer the provider confirmed it. If they report missing funds, keep the case open for tracing.
Records disagree or a refund fails
Send Payments the ticket ID, order and refund references, what was tried, and the next action. Check the provider before anyone retries.

Use the same cases to score competing tools. Count accurate replies separately from correctly closed tickets, and treat any premature closure as a failure on this test. Stripe’s refund documentation describes pending and partial refunds and explains why a customer might not see a credit immediately. Check how your own provider defines each status.

Review status: This fictional exercise was checked against Stripe’s public documentation. An independent payments practitioner review is pending.