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.
  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.

How to force opening a chargeback (Note: this action is only allowed on sandbox for testing)
How to force opening a chargeback (Note: this action is only allowed on sandbox for testing)

Set the chargeback outcome

  1. Go to the Chargebacks tab .

  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
How to force a chargeback outcome (Note: this action is only allowed on sandbox for testing)
How to force a chargeback outcome (Note: this action is only allowed on sandbox for testing)

Verify webhook delivery

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