> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: About Dispute Management

## Article: About Dispute Management

## Article Link: https://dev.wix.com/docs/api-reference/business-management/payments/disputes/about-dispute-management.md

## Article Content:

# About Dispute Management

Dispute management is the process of handling payment disputes that occur when customers contest charges with their payment service provider (PSP) or bank. Understanding dispute management helps merchants respond effectively to customer challenges while protecting their business interests and maintaining compliance with payment processor requirements.

Effective dispute management involves monitoring dispute lifecycles, evaluating each case on its merits, and taking appropriate action in required timeframes. This process helps merchants maintain positive customer relationships while minimizing financial losses and protecting their reputation with payment processors.

## Creating disputes
Customers initiate a dispute as the first step in contesting a payment. When a customer creates a dispute, the merchant receives notification through the [Dispute Created](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/dispute-created.md) event, allowing them to track and respond to the challenge appropriately.

## Defending disputes
When merchants believe a dispute lacks merit, they can defend it by submitting evidence to support their position. The PSP or bank reviews the evidence and makes a decision based on the documentation provided.

You can [upload evidence to a dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-evidence-documents/upload-an-evidence-document.md) using the [Dispute Evidence Documents API](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-evidence-documents/introduction.md). Calling [Defend Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/defend-dispute.md) submits the evidence to the PSP or bank for review. Once submitted, evidence documents become completely immutable to maintain the integrity of the dispute process.

## External updates to disputes
Another party, such as the PSP or bank, often updates a dispute status based on their review process or additional information received. Subscribe to the [Dispute Updated](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/dispute-updated.md) event to receive notifications when these updates occur.

## Dispute resolution outcomes
Merchants can resolve disputes by [accepting](#accepting-disputes) them. Payment service providers (PSPs) and banks can resolve disputes by accepting or rejecting them after reviewing [defended](#defending-disputes) cases.

When a dispute resolves in favor of the customer (accepted), it's considered "lost" from the merchant's perspective. When a dispute resolves in favor of the merchant, it's considered "won".

> **Note:** When you accept a dispute, Wix processes the refund automatically.

## Accepting disputes
When merchants determine a dispute has merit, they can accept liability by calling [Accept Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/accept-dispute.md). This action resolves the dispute in favor of the customer and acknowledges the merchant's responsibility for the issue.

## Tracking dispute history
After dispute resolution, merchants can retrieve dispute history records using the [Dispute History Records API](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-history-records/introduction.md). Maintaining dispute history records helps merchants track patterns, improve processes, and meet audit requirements.

## See also
- [About the Disputes APIs](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/introduction.md)
- [Sample Flows](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/sample-flows.md)