Skip to main content
POST
/
dispute-opened
Dispute Open
curl --request POST \
  --url https://api.sandbox.primer.io/dispute-opened \
  --header 'Content-Type: application/json' \
  --header 'X-Signature-Primary: <x-signature-primary>' \
  --header 'X-Signature-Secondary: <x-signature-secondary>' \
  --data '
{
  "eventType": "<string>",
  "processorId": "<string>",
  "processorDisputeId": "<string>",
  "paymentId": "<string>",
  "transactionId": "<string>",
  "orderId": "<string>",
  "primerAccountId": "<string>"
}
'

Headers

X-Signature-Primary
string
required

An HMAC signature generated using the webhook payload and a shared signing secret. This is then converted to a base64 encoded string.

X-Signature-Secondary
string
required

A secondary signature that is added when you have rotated your secret within the past 24 hours.

Body

application/json
eventType
string
required

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

processorId
string
required

The name of the processor that generated the dispute.

processorDisputeId
string
required

A unique identifier for the corresponding connection dispute.

paymentId
string
required

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

transactionId
string
required

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

orderId
string
required

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

primerAccountId
string
required

A unique identifier for your Primer merchant account.

Response

200

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