Webhooks for the Disputes API

This API supports webhooks. When asynchronous events occur on our side, we can send an HTTP call (webhook) to your application, so you can react to these events in real time.

You can set up webhooks via the dashboard. See the Next-gen Webhooks guide.

The payload of a webhook is always simply a snapshot of the entity, as returned by the GET endpoint.

If you are setting up webhooks via the Webhooks API instead for any of the events below, you will need access to disputes.read.

Available webhook events

EventDescription
dispute.createdA new dispute has been created for a payment.
dispute.resolvedA dispute has been resolved with a final outcome (won or lost).
dispute.updatedA dispute has been updated (for example, its status or deadline changed).

Webhook payload examples

{
  "resource": "dispute",
  "id": "dsp_5B8cwPMGnU6qLbRvo7qEZo",
  "mode": "live",
  "createdAt": "2024-02-12T11:58:35+00:00",
  "responseDueBefore": "2024-02-19T12:13:35+00:00",
  "reason": {
    "code": "4855",
    "description": "Goods or services not provided or not as described"
  },
  "status": "response-required",
  "amount": {
    "value": "12.34",
    "currency": "EUR"
  },
  "paymentId": "tr_5B8cwPMGnU6qLbRvo7qEZo",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/disputes/dsp_5B8cwPMGnU6qLbRvo7qEZo",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-dispute",
      "type": "text/html"
    }
  }
}
{
  "resource": "dispute",
  "id": "dsp_5B8cwPMGnU6qLbRvo7qEZo",
  "mode": "live",
  "createdAt": "2024-02-12T11:58:35+00:00",
  "responseDueBefore": "2024-02-19T12:13:35+00:00",
  "reason": {
    "code": "4855",
    "description": "Goods or services not provided or not as described"
  },
  "status": "won",
  "amount": {
    "value": "12.34",
    "currency": "EUR"
  },
  "paymentId": "tr_5B8cwPMGnU6qLbRvo7qEZo",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/disputes/dsp_5B8cwPMGnU6qLbRvo7qEZo",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-dispute",
      "type": "text/html"
    }
  }
}
{
  "resource": "dispute",
  "id": "dsp_5B8cwPMGnU6qLbRvo7qEZo",
  "mode": "live",
  "createdAt": "2024-02-12T11:58:35+00:00",
  "responseDueBefore": "2024-02-19T12:13:35+00:00",
  "reason": {
    "code": "4855",
    "description": "Goods or services not provided or not as described"
  },
  "status": "under-review",
  "amount": {
    "value": "12.34",
    "currency": "EUR"
  },
  "paymentId": "tr_5B8cwPMGnU6qLbRvo7qEZo",
  "_links": {
    "self": {
      "href": "https://api.mollie.com/v2/disputes/dsp_5B8cwPMGnU6qLbRvo7qEZo",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://docs.mollie.com/reference/get-dispute",
      "type": "text/html"
    }
  }
}