> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.coinflow.cash/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.coinflow.cash/_mcp/server.

# How to Test Chargeback Events

To simulate chargeback events and verify that your system receives the corresponding webhooks, follow these steps:

#### Set up your webhook events

Make sure your system is configured to listen for the following webhook events:

* `Card Payment Chargeback Opened`
* `Card Payment Chargeback Won`
* `Card Payment Chargeback Lost`

\


#### Complete a test payment

1. Use the Coinflow sandbox to complete a test card payment.
2. Wait until the payment status is `settled`

\


#### Open a chargeback for the test payment

1. Go to the [Purchases table](https://sandbox-merchant.coinflow.cash/purchases).
2. Find the purchase you just completed.
3. Click the chargeback icon to simulate opening a chargeback.

This action will trigger the `Card Payment Chargeback Opened` webhook.

\


#### Set the chargeback outcome

1. Go to the [Chargebacks tab](https://sandbox-merchant.coinflow.cash/chargebacks?search=) .
2. Search for and select the payment you opened a chargeback for.
3. Click either:

   * **`Chargeback Won`** to simulate a successful dispute resolution, or
   * **`Chargeback Lost`** to simulate a lost dispute.

This will trigger the respective webhook:

* `Card Payment Chargeback Won` or `Card Payment Chargeback Lost`

\


#### Verify webhook delivery

Check your webhook listener to ensure all events (`Opened`, `Won`, `Lost`) were received and processed as expected.