Primer notifies you with a DISPUTE.OPEN webhook on newly opened disputes or chargebacks. This notification is unified across all processors.

Learn more about how Primer handles webhooks.

Headers

X-Signature-PrimarystringRequired

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

X-Signature-SecondarystringRequired

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

Payload

The payload of this webhook request is an object.
eventTypestringOptional

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

processorIdstringOptional

The name of the processor that generated the dispute.

processorDisputeIdstringOptional

A unique identifier for the corresponding connection dispute.

paymentIdstringOptional

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

transactionIdstringOptional

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

orderIdstringOptional

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

primerAccountIdstringOptional

A unique identifier for your Primer merchant account.

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "eventType": "string",
3 "processorId": "string",
4 "processorDisputeId": "string",
5 "paymentId": "string",
6 "transactionId": "string",
7 "orderId": "string",
8 "primerAccountId": "string"
9}