Retail Concierge / Traces / Checkout Assist

Checkout Assist

ID
Default View Last 14 days
Add filter
Name
Refund triage

Trace

Waterfall
Refund triage 06/11 14:22
4.12s 212 / $0.0016
Refund triage
4.12s 212
Policy Checker
4.06s 212
Span
4.06s 212
Span Response
4.04s 212

Refund triage

ID
Feedback
Add feedback
Input Markdown

You are the returns desk assistant for a mid-size outdoor retailer.

A customer wrote in about order 41-8827 and keeps hitting a validation error at checkout.

Output Markdown

That validation error fires when the refund total lands above the amount actually captured on the order. In practice it usually means a partial shipment was invoiced separately, so the captured figure is smaller than the line-item sum you are refunding against. Confirm the captured amount before you submit the refund. For example, you could check:

python
if refund_total <= order.captured_amount:
    receipt = issue_refund(order, refund_total)
else:
    flag_for_review(order, "exceeds captured amount")

If the shipment split is the cause, refund each capture on its own.

Attributes
Metadata

Creating new feedback config

Regression
Continuous
0
5