{"case":{"id":"F-089279C5C8904354","scenario":"F","label":"Free text","created_at":"2026-11-09T10:43:21Z","updated_at":"2026-11-09T10:46:10Z","status":"REFUND_COMPLETED","customer_name":"Free-text customer","customer_message":"Hi, the running shoes I ordered arrived in the wrong colour. I want to return them for a full refund please.","product_sku":"TRAIL-RUNNER-42","amount":"49.99","currency":"USD","purchase_date_seeded":null,"order_id":"7S142334X2468105D","order_status":"COMPLETED","capture_id":"9M172932W5856520H","capture_status":"REFUNDED","capture_time":"2026-11-09T10:43:24Z","approve_url":null,"decision":"ELIGIBLE","supplier_draft":null,"supplier_reply":null,"human_decision":"APPROVED","human_at":"2026-11-09T10:43:27Z","approval_source":"human","refund_id":"1LF75336ME8988949","refund_status":"COMPLETED","refund_fault":null,"webhook_status":"VERIFIED","error":null,"refund_request_id":"tradeos-refund-F-089279C5C8904354","completed_via":"refund_api","archived_at":null,"shipping_minor":null,"intent":{"intent":"REFUND_REQUEST","reason":"NOT_AS_DESCRIBED","requested_action":"REFUND"},"policy":{"decision":"ELIGIBLE","stage":"final","action":"REFUND","checks":[{"name":"request_supported","passed":true,"detail":"Request understood as REFUND_REQUEST / REFUND (reason NOT_AS_DESCRIBED)"},{"name":"payment_captured","passed":true,"detail":"PayPal capture status is COMPLETED"},{"name":"return_window","passed":true,"detail":"Purchased 0 days ago; window is 30 days"},{"name":"product_eligible","passed":true,"detail":"Trail Runner sneakers, EU size 42 is eligible for return"},{"name":"refundable_amount","passed":true,"detail":"Requested 49.99 USD; refundable 49.99 USD"}],"reasons":[]},"refund":{"id":"1LF75336ME8988949","amount":{"currency_code":"USD","value":"49.99"},"note_to_payer":"This refund of 49.99 USD is for your returned item. Thank you for your patience!","seller_payable_breakdown":{"gross_amount":{"currency_code":"USD","value":"49.99"},"paypal_fee":{"currency_code":"USD","value":"0.00"},"net_amount":{"currency_code":"USD","value":"49.99"},"net_amount_breakdown":[{"payable_amount":{"currency_code":"GBP","value":"37.33"},"converted_amount":{"currency_code":"USD","value":"49.99"},"exchange_rate":{"source_currency":"GBP","target_currency":"USD","value":"1.339217934971362"}}],"total_refunded_amount":{"currency_code":"USD","value":"49.99"}},"custom_id":"F-089279C5C8904354","status":"COMPLETED","create_time":"2026-11-09T02:43:28-08:00","update_time":"2026-11-09T02:43:28-08:00","links":[{"href":"https://api.sandbox.paypal.com/v2/payments/refunds/1LF75336ME8988949","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v2/payments/captures/9M172932W5856520H","rel":"up","method":"GET"}]},"assist":{"language":"English","language_code":"en","current_size":null,"requested_size":null,"merchant_summary_en":"Customer wants a full refund for shoes received in wrong colour."},"extraction":{"extractor":"llm:openai/gpt-oss-20b","note":"Validated against strict schema.","assist_note":"Validated (information only; the policy engine ignores these fields).","injection_guard":false,"llm_unavailable":false,"llm_chat_completions":1,"safety":{"flagged":false,"trigger":"none","product_class":"NONE","rule_version":"safety-gate/3.4.0-main","signals":[]},"safety_ai":{"ai_layer":"off"}},"note":{"outcome":"COMPLETED_NOTE","language":"English","language_code":"en","text":"Your return was approved and your refund of 49.99 USD has been completed by PayPal. Thank you!","source_en":"Your return was approved and your refund of 49.99 USD has been completed by PayPal. Thank you!","generator":"template","validation":"English template."},"duplicate":null,"webhook":{"event_id":"WH-06A75520SG4506712-8HR814593V2024800","event_type":"PAYMENT.CAPTURE.REFUNDED","resource_id":"1LF75336ME8988949","resource_status":"COMPLETED","status_details":null,"verification":"SUCCESS","verify_method":"self","received_at":"2026-11-09T10:43:46Z","create_time":"2026-11-09T10:43:32.569Z","transmission_time":"2026-11-09T10:43:44Z","transmission_age":"fresh"},"payer_note":{"outcome":"REFUND_NOTE","language":"English","language_code":"en","text":"This refund of 49.99 USD is for your returned item. Thank you for your patience!","source_en":"This refund of 49.99 USD is for your returned item. Thank you for your patience!","generator":"template","validation":"English template."}},"timeline":[{"id":56,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:25Z","stage":"payment","title":"PayPal order created","detail":{"order_id":"7S142334X2468105D","status":"COMPLETED","amount":"49.99 USD"}},{"id":57,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:25Z","stage":"payment","title":"PayPal payment captured","detail":{"order_id":"7S142334X2468105D","capture_id":"9M172932W5856520H","status":"COMPLETED"}},{"id":58,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:25Z","stage":"request","title":"Customer request received","detail":{"customer":"Free-text customer","message":"Hi, the running shoes I ordered arrived in the wrong colour. I want to return them for a full refund please."}},{"id":59,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:25Z","stage":"intent","title":"Intent extracted","detail":{"intent":"REFUND_REQUEST","reason":"NOT_AS_DESCRIBED","requested_action":"REFUND","extractor":"llm:openai/gpt-oss-20b","note":"Validated against strict schema.","assist":{"language":"English","language_code":"en","current_size":null,"requested_size":null,"merchant_summary_en":"Customer wants a full refund for shoes received in wrong colour."},"assist_note":"Validated (information only; the policy engine ignores these fields).","safety_gate":{"flagged":false,"rule_version":"safety-gate/3.4.0-main"}}},{"id":60,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:26Z","stage":"policy","title":"Policy pre-check: ELIGIBLE","detail":{"decision":"ELIGIBLE","stage":"final","action":"REFUND","checks":[{"name":"request_supported","passed":true,"detail":"Request understood as REFUND_REQUEST / REFUND (reason NOT_AS_DESCRIBED)"},{"name":"payment_captured","passed":true,"detail":"PayPal capture status is COMPLETED"},{"name":"return_window","passed":true,"detail":"Purchased 0 days ago; window is 30 days"},{"name":"product_eligible","passed":true,"detail":"Trail Runner sneakers, EU size 42 is eligible for return"},{"name":"refundable_amount","passed":true,"detail":"Requested 49.99 USD; refundable 49.99 USD"}],"reasons":[]}},{"id":61,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:26Z","stage":"policy","title":"Policy final: ELIGIBLE — return for a refund (supplier not involved)","detail":{"decision":"ELIGIBLE","stage":"final","action":"REFUND","checks":[{"name":"request_supported","passed":true,"detail":"Request understood as REFUND_REQUEST / REFUND (reason NOT_AS_DESCRIBED)"},{"name":"payment_captured","passed":true,"detail":"PayPal capture status is COMPLETED"},{"name":"return_window","passed":true,"detail":"Purchased 0 days ago; window is 30 days"},{"name":"product_eligible","passed":true,"detail":"Trail Runner sneakers, EU size 42 is eligible for return"},{"name":"refundable_amount","passed":true,"detail":"Requested 49.99 USD; refundable 49.99 USD"}],"reasons":[]}},{"id":62,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:26Z","stage":"human","title":"Autonomy: HUMAN — this case needs a person","detail":{"why":"AUTO_ENABLED is off — every refund needs a person","auto_enabled":false,"auto_refund_max_amount":"50.00","auto_exchange_enabled":false}},{"id":63,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:26Z","stage":"note","title":"Customer note drafted: awaiting merchant approval (not sent)","detail":{"outcome":"PENDING_NOTE","language":"English","language_code":"en","text":"Your return request has been reviewed and is awaiting merchant approval. No refund has been issued yet.","source_en":"Your return request has been reviewed and is awaiting merchant approval. No refund has been issued yet.","generator":"template","validation":"English template."}},{"id":64,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:26Z","stage":"human","title":"Waiting for human approval of the refund","detail":{"amount":"49.99 USD"}},{"id":65,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:27Z","stage":"policy","title":"Policy re-check before refund: ELIGIBLE","detail":{"decision":"ELIGIBLE","stage":"final","action":"REFUND","checks":[{"name":"request_supported","passed":true,"detail":"Request understood as REFUND_REQUEST / REFUND (reason NOT_AS_DESCRIBED)"},{"name":"payment_captured","passed":true,"detail":"PayPal capture status is COMPLETED"},{"name":"return_window","passed":true,"detail":"Purchased 0 days ago; window is 30 days"},{"name":"product_eligible","passed":true,"detail":"Trail Runner sneakers, EU size 42 is eligible for return"},{"name":"refundable_amount","passed":true,"detail":"Requested 49.99 USD; refundable 49.99 USD"}],"reasons":[],"capture_id":"9M172932W5856520H","capture_status":"COMPLETED"}},{"id":66,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:27Z","stage":"human","title":"Human approved the refund","detail":{"approver":"merchant","source":"human"}},{"id":67,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:27Z","stage":"note","title":"note_to_payer written for the refund call (neutral wording)","detail":{"outcome":"REFUND_NOTE","language":"English","language_code":"en","text":"This refund of 49.99 USD is for your returned item. Thank you for your patience!","source_en":"This refund of 49.99 USD is for your returned item. Thank you for your patience!","generator":"template","validation":"English template."}},{"id":68,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:29Z","stage":"paypal","title":"PayPal refund COMPLETED","detail":{"refund_id":"1LF75336ME8988949","status":"COMPLETED","amount":{"currency_code":"USD","value":"49.99"},"expected_amount":{"value":"49.99","currency_code":"USD"},"amount_verified":true,"create_time":"2026-11-09T02:43:28-08:00","paypal_request_id":"tradeos-refund-F-089279C5C8904354","note_to_payer":"This refund of 49.99 USD is for your returned item. Thank you for your patience!","status_details":null}},{"id":69,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:29Z","stage":"note","title":"Final customer note written after PayPal COMPLETED","detail":{"outcome":"COMPLETED_NOTE","language":"English","language_code":"en","text":"Your return was approved and your refund of 49.99 USD has been completed by PayPal. Thank you!","source_en":"Your return was approved and your refund of 49.99 USD has been completed by PayPal. Thank you!","generator":"template","validation":"English template."}},{"id":71,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:46Z","stage":"webhook","title":"PayPal webhook PAYMENT.CAPTURE.REFUNDED received — signature verified (second confirmation)","detail":{"event_id":"WH-06A75520SG4506712-8HR814593V2024800","event_type":"PAYMENT.CAPTURE.REFUNDED","resource_id":"1LF75336ME8988949","resource_status":"COMPLETED","status_details":null,"verification":"SUCCESS","verify_method":"self","received_at":"2026-11-09T10:43:46Z","create_time":"2026-11-09T10:43:32.569Z","transmission_time":"2026-11-09T10:43:44Z","transmission_age":"fresh"}},{"id":121,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:46:10Z","stage":"reconcile","title":"Reconciled with PayPal — all match","detail":{"checks":[{"field":"capture.status","local":"PARTIALLY_REFUNDED/REFUNDED","paypal":"REFUNDED","match":true},{"field":"capture.amount","local":"49.99 USD","paypal":{"currency_code":"USD","value":"49.99"},"match":true},{"field":"refund.status","local":"COMPLETED","paypal":"COMPLETED","match":true,"advanced":false},{"field":"refund.amount","local":"49.99 USD","paypal":"49.99 USD","match":true}],"ok":true,"needs_human":null,"seq":1794221170523803788}}],"paypal_calls":[{"id":17,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:25Z","operation":"create_order_with_card","ok":1,"result":"{\"id\": \"7S142334X2468105D\", \"status\": \"COMPLETED\"}","debug_id":"f547983f3dfd5","request_id":"tradeos-order-F-089279C5C8904354","evidence_json":"{\"id\": \"7S142334X2468105D\", \"status\": \"COMPLETED\", \"capture_id\": \"9M172932W5856520H\", \"capture_status\": \"COMPLETED\"}","seq":1794221005164932391},{"id":18,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:26Z","operation":"get_capture","ok":1,"result":"{\"id\": \"9M172932W5856520H\", \"status\": \"COMPLETED\"}","debug_id":"f194143afc9c4","request_id":null,"evidence_json":"{\"id\": \"9M172932W5856520H\", \"status\": \"COMPLETED\", \"amount\": {\"currency_code\": \"USD\", \"value\": \"49.99\"}}","seq":1794221006419407434},{"id":19,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:27Z","operation":"get_capture","ok":1,"result":"{\"id\": \"9M172932W5856520H\", \"status\": \"COMPLETED\"}","debug_id":"f569700d2faf2","request_id":null,"evidence_json":"{\"id\": \"9M172932W5856520H\", \"status\": \"COMPLETED\", \"amount\": {\"currency_code\": \"USD\", \"value\": \"49.99\"}}","seq":1794221007196230072},{"id":20,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:43:29Z","operation":"refund_capture","ok":1,"result":"{\"id\": \"1LF75336ME8988949\", \"status\": \"COMPLETED\"}","debug_id":"f56970058bdcc","request_id":"tradeos-refund-F-089279C5C8904354","evidence_json":"{\"id\": \"1LF75336ME8988949\", \"status\": \"COMPLETED\", \"amount\": {\"currency_code\": \"USD\", \"value\": \"49.99\"}}","seq":1794221009147273613},{"id":32,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:46:09Z","operation":"get_capture","ok":1,"result":"{\"id\": \"9M172932W5856520H\", \"status\": \"REFUNDED\"}","debug_id":"f528765b88f11","request_id":null,"evidence_json":"{\"id\": \"9M172932W5856520H\", \"status\": \"REFUNDED\", \"amount\": {\"currency_code\": \"USD\", \"value\": \"49.99\"}}","seq":1794221169202830456},{"id":33,"case_id":"F-089279C5C8904354","ts":"2026-11-09T10:46:10Z","operation":"get_refund","ok":1,"result":"{\"id\": \"1LF75336ME8988949\", \"status\": \"COMPLETED\"}","debug_id":"f528765e809ff","request_id":null,"evidence_json":"{\"id\": \"1LF75336ME8988949\", \"status\": \"COMPLETED\", \"amount\": {\"currency_code\": \"USD\", \"value\": \"49.99\"}}","seq":1794221170506385237}]}