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

# Dispute

POST 

The `Dispute` indicates that a transaction received a return that generated a dispute. The returnType property specifies the type of return

Reference: https://amer.developers.trustly.com/api-reference/api/event-notifications/dispute

## OpenAPI 3.1 Webhook Specification

```yaml
openapi: 3.1.0
info:
  title: Trustly API
  version: 1.0.0
paths: {}
webhooks:
  subpackage_eventNotifications.Dispute:
    post:
      operationId: subpackage_eventNotifications.Dispute
      summary: Dispute
      description: >-
        The `Dispute` indicates that a transaction received a return that
        generated a dispute. The returnType property specifies the type of
        return
      responses:
        '200':
          description: Webhook received successfully
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                createdAt:
                  type: string
                  format: int64
                  description: >-
                    The timestamp when the event was created, represented as a
                    Unix timestamp in milliseconds.
                eventId:
                  type: string
                  description: Unique identifier for the event.
                eventType:
                  type: string
                  description: The type of event that triggered the webhook.
                objectId:
                  type: string
                  description: >-
                    Unique identifier for the object associated with the event,
                    such as a transaction.
                objectType:
                  type: string
                  description: >-
                    The type of object associated with the event (e.g.,
                    Stopped).
                reference:
                  type: string
                transactionId:
                  type: string
                transactionDatetime:
                  type: string
                returnType:
                  type: string
                customerId:
                  type: string
                returnDatetime:
                  type: string
                amountReturned:
                  type: string

```