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