Back to catalog / Agent workflows
Prepare payment-dispute evidence and an action proposal
Combine payment-intent, order, and contact records; distinguish fulfillment errors from final-sale disputes and prepare a human-review evidence packet.
Goal
Combine payment-intent, order, and contact records; distinguish fulfillment errors from final-sale disputes and prepare a human-review evidence packet.
Steps
- Run the dispute investigator with Stripe test mode and synthetic order records. [src-openai-prepare-payment-dispute-evidence-and-action-proposal]
- Inspect linked order, email, and phone evidence and retain source references for each finding. [src-openai-prepare-payment-dispute-evidence-and-action-proposal]
- Label a proposed accept-or-investigate action; do not call the close-dispute tool outside test mode. [src-openai-prepare-payment-dispute-evidence-and-action-proposal]
How to verify
Check both fixtures link evidence IDs to the payment intent, order, and contact records, and that conclusions match fulfillment records.
Troubleshooting
If an order is missing, inspect payment-intent metadata and fixture mapping; leave the case unresolved when evidence is incomplete.
Permissions
Prerequisites
- OpenAI Agents SDK, Stripe test mode, synthetic order/email/phone records, and a model API key.
Permissions
- Reads test payments and synthetic records; the source includes a dispute-closing write tool, so disconnect live Stripe and submit no real evidence.
Limitations
This workflow organizes cases but does not decide real refunds or chargebacks; test data is not representative of live behavior.
Pinned upstream source
- Repository
- openai/openai-cookbook
- File path
- examples/agents_sdk/dispute_agent.ipynb
- Pinned commit
5bd6cb40b6b84b69b2032d810610aa85064102df- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: MIT
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief