Webhook: dispute.closed

The dispute.closed event is sent when a dispute is resolved. status is won, lost, or closed.

Example

{
  "id": "d20f0f08-694d-4798-9faf-fccd5b61ed39",
  "type": "dispute.closed",
  "version": 1,
  "isSandbox": true,
  "data": {
    "dispute": {
      "id": "d20f0f08-694d-4798-9faf-fccd5b61ed32",
      "date": "2024-11-20T20:53:03.371Z",
      "status": "won",
      "comments": null,
      "amount": 100,
      "currency": "USD",
      "isSandbox": true,
      "purchaseId": "1bfb9321-0013-4196-ac9c-a864ecce522f",
      "reason": "fraud",
      "payments": [
        {
          "method": "credit_card",
          "amount": 100
        }
      ]
    }
  }
}

The dispute object has the same fields as in dispute.opened; see that page for amount, reason, and payments.


Did this page help you?