{"case":{"id":"F-9DAA5900C4FC43A8","scenario":"F","label":"Free text","created_at":"2026-11-09T10:43:05Z","updated_at":"2026-11-09T10:43:11Z","status":"EXCHANGE_ARRANGED","customer_name":"Free-text customer","customer_message":"The shoes are too small. Can I exchange size 42 for size 43?","product_sku":"TRAIL-RUNNER-42","amount":"49.99","currency":"USD","purchase_date_seeded":null,"order_id":"3178557622278761J","order_status":"COMPLETED","capture_id":"76G87226E6305412H","capture_status":"COMPLETED","capture_time":"2026-11-09T10:43:08Z","approve_url":null,"decision":"EXCHANGE_ELIGIBLE","supplier_draft":"To: Stride Footwear Co. (fictional demo supplier)\nSubject: Replacement request — order 3178557622278761J (Trail Runner sneakers, EU size 42)\n\nHello,\n\nOur customer Free-text customer has requested an exchange (reason: size mismatch).\nCustomer message: \"The shoes are too small. Can I exchange size 42 for size 43?\"\n\nProduct: Trail Runner sneakers, EU size 42 (SKU TRAIL-RUNNER-42)\nPlease confirm you can ship a replacement in the requested size.\n\nReference: TradeOS case F-9DAA5900C4FC43A8\nThank you.","supplier_reply":"REPLACEMENT_APPROVED","human_decision":"APPROVED","human_at":"2026-11-09T10:43:11Z","approval_source":"human","refund_id":null,"refund_status":null,"refund_fault":null,"webhook_status":null,"error":null,"refund_request_id":null,"completed_via":null,"archived_at":null,"shipping_minor":null,"intent":{"intent":"EXCHANGE_REQUEST","reason":"SIZE_MISMATCH","requested_action":"EXCHANGE"},"policy":{"decision":"ELIGIBLE","stage":"final","action":"EXCHANGE","checks":[{"name":"request_supported","passed":true,"detail":"Request understood as EXCHANGE_REQUEST / EXCHANGE (reason SIZE_MISMATCH)"},{"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 exchange"},{"name":"supplier_confirmed","passed":true,"detail":"Supplier status: REPLACEMENT_APPROVED"}],"reasons":[]},"refund":null,"assist":{"language":"English","language_code":"en","current_size":"42","requested_size":"43","merchant_summary_en":"Customer wants to exchange shoes from size 42 to size 43 due to size too small."},"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":"EXCHANGE_NOTE","language":"English","language_code":"en","text":"Your exchange request (size 42 → 43) was approved. The replacement is being arranged with our supplier; no refund is involved. Thank you!","source_en":"Your exchange request (size 42 → 43) was approved. The replacement is being arranged with our supplier; no refund is involved. Thank you!","generator":"template","validation":"English template."},"duplicate":null,"webhook":null,"payer_note":null},"timeline":[{"id":24,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:09Z","stage":"payment","title":"PayPal order created","detail":{"order_id":"3178557622278761J","status":"COMPLETED","amount":"49.99 USD"}},{"id":25,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:09Z","stage":"payment","title":"PayPal payment captured","detail":{"order_id":"3178557622278761J","capture_id":"76G87226E6305412H","status":"COMPLETED"}},{"id":26,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:09Z","stage":"request","title":"Customer request received","detail":{"customer":"Free-text customer","message":"The shoes are too small. Can I exchange size 42 for size 43?"}},{"id":27,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:09Z","stage":"intent","title":"Intent extracted","detail":{"intent":"EXCHANGE_REQUEST","reason":"SIZE_MISMATCH","requested_action":"EXCHANGE","extractor":"llm:openai/gpt-oss-20b","note":"Validated against strict schema.","assist":{"language":"English","language_code":"en","current_size":"42","requested_size":"43","merchant_summary_en":"Customer wants to exchange shoes from size 42 to size 43 due to size too small."},"assist_note":"Validated (information only; the policy engine ignores these fields).","safety_gate":{"flagged":false,"rule_version":"safety-gate/3.4.0-main"}}},{"id":28,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","stage":"policy","title":"Policy pre-check: ELIGIBLE","detail":{"decision":"ELIGIBLE","stage":"pre-supplier","action":"EXCHANGE","checks":[{"name":"request_supported","passed":true,"detail":"Request understood as EXCHANGE_REQUEST / EXCHANGE (reason SIZE_MISMATCH)"},{"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 exchange"}],"reasons":[]}},{"id":29,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","stage":"supplier","title":"Supplier draft generated","detail":{"draft":"To: Stride Footwear Co. (fictional demo supplier)\nSubject: Replacement request — order 3178557622278761J (Trail Runner sneakers, EU size 42)\n\nHello,\n\nOur customer Free-text customer has requested an exchange (reason: size mismatch).\nCustomer message: \"The shoes are too small. Can I exchange size 42 for size 43?\"\n\nProduct: Trail Runner sneakers, EU size 42 (SKU TRAIL-RUNNER-42)\nPlease confirm you can ship a replacement in the requested size.\n\nReference: TradeOS case F-9DAA5900C4FC43A8\nThank you."}},{"id":30,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","stage":"supplier","title":"Supplier replied: REPLACEMENT_APPROVED (MOCK)","detail":{"status":"REPLACEMENT_APPROVED","label":"MOCK supplier reply — simulated for the demo, not a real supplier","is_mock":true,"message":"Replacement approved for case F-9DAA5900C4FC43A8. New size will ship within 3 business days."}},{"id":31,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","stage":"policy","title":"Policy final: ELIGIBLE","detail":{"decision":"ELIGIBLE","stage":"final","action":"EXCHANGE","checks":[{"name":"request_supported","passed":true,"detail":"Request understood as EXCHANGE_REQUEST / EXCHANGE (reason SIZE_MISMATCH)"},{"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 exchange"},{"name":"supplier_confirmed","passed":true,"detail":"Supplier status: REPLACEMENT_APPROVED"}],"reasons":[]}},{"id":32,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","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":33,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","stage":"note","title":"Customer note drafted: awaiting merchant approval (not sent)","detail":{"outcome":"PENDING_NOTE","language":"English","language_code":"en","text":"Your exchange request (size 42 → 43) has been reviewed and is awaiting merchant approval. No refund is involved in an exchange.","source_en":"Your exchange request (size 42 → 43) has been reviewed and is awaiting merchant approval. No refund is involved in an exchange.","generator":"template","validation":"English template."}},{"id":34,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","stage":"human","title":"Waiting for human approval of the exchange (no refund)","detail":{"refund":"none — exchange"}},{"id":35,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:11Z","stage":"human","title":"Human approved the exchange","detail":{"approver":"merchant","source":"human"}},{"id":36,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:11Z","stage":"paypal","title":"Refund API NOT CALLED — exchange arranged (replacement via the MOCK supplier), no refund","detail":{"refund_id":null}},{"id":37,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:11Z","stage":"note","title":"Customer note written after the human approved the exchange (no refund)","detail":{"outcome":"EXCHANGE_NOTE","language":"English","language_code":"en","text":"Your exchange request (size 42 → 43) was approved. The replacement is being arranged with our supplier; no refund is involved. Thank you!","source_en":"Your exchange request (size 42 → 43) was approved. The replacement is being arranged with our supplier; no refund is involved. Thank you!","generator":"template","validation":"English template."}}],"paypal_calls":[{"id":9,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:09Z","operation":"create_order_with_card","ok":1,"result":"{\"id\": \"3178557622278761J\", \"status\": \"COMPLETED\"}","debug_id":"f26410583f8d7","request_id":"tradeos-order-F-9DAA5900C4FC43A8","evidence_json":"{\"id\": \"3178557622278761J\", \"status\": \"COMPLETED\", \"capture_id\": \"76G87226E6305412H\", \"capture_status\": \"COMPLETED\"}","seq":1794220989366651371},{"id":10,"case_id":"F-9DAA5900C4FC43A8","ts":"2026-11-09T10:43:10Z","operation":"get_capture","ok":1,"result":"{\"id\": \"76G87226E6305412H\", \"status\": \"COMPLETED\"}","debug_id":"f1152937feada","request_id":null,"evidence_json":"{\"id\": \"76G87226E6305412H\", \"status\": \"COMPLETED\", \"amount\": {\"currency_code\": \"USD\", \"value\": \"49.99\"}}","seq":1794220990815861718}]}