Skip to main content
curl -X POST https://api.sandbox.primer.io/dispute-opened \
     -H "X-API-KEY: <apiKey>" \
     -H "Content-Type: application/json" \
     -d '{}'
{
  "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"
      }
  }
}
curl -X POST https://api.sandbox.primer.io/dispute-opened \
     -H "X-API-KEY: <apiKey>" \
     -H "Content-Type: application/json" \
     -d '{}'
{
  "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
eventType
string

The type of the webhook raised. DISPUTE.OPENED in this case.

processorId
string

The name of the processor that generated the dispute.

processorDisputeId
string

A unique identifier for the corresponding connection dispute.

paymentId
string

A unique identifier for the Primer payment corresponding to this dispute.

transactionId
string

A unique identifier for the Primer transaction corresponding to this dispute.

orderId
string

Your reference for the sale transaction that the dispute relates to.

primerAccountId
string

A unique identifier for your Primer merchant account.

Response

200

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