Dispute Open
curl --request POST \
  --url https://api.sandbox.primer.io/dispute-opened \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "eventType": "<string>",
  "processorId": "<string>",
  "processorDisputeId": "<string>",
  "paymentId": "<string>",
  "transactionId": "<string>",
  "orderId": "<string>",
  "primerAccountId": "<string>"
}'
Example of dispute event:
JSON
{
  "eventType": "DISPUTE.OPENED",
  "version": "2.1",
  "primerAccountId": "7fcd50f1-99f2-416e-8013-6ecd1c1285c3",
  "transactionId": "c3f662ad-d197-492e-b78b-63eefa64a31d",
  "orderId": "order-123",
  "processorId": "Adyen",
  "processorDisputeId": "adyen_ref_123",
  "paymentId": "ecb8d3bc-805d-4d97-826e-ef8d4cc3d2a2",
  "raw_processor_callback": {
    "example": {
      "raw_callback": "request",
      "from": "Adyen"
    }
  }
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

200

Return a 200 status to indicate that the data was received successfully