cURL
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>" }'
Primer notifies you with a DISPUTE.OPENED webhook on newly opened disputes or chargebacks. This notification is unified across all processors.
DISPUTE.OPENED
{ "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" } } }
Return a 200 status to indicate that the data was received successfully