Signed with the secret of the endpoint (whsec_…, the current or, for 24 h after a rotation, the previous version). The receiver checks the signature, deduplicates by Webhook-Id, stores the event, answers 2xx within 10 s (5 s for a destination of the merchant), then re-reads the resource by GET before any effect; data.object.version orders the states of a payment.
Header parameters
- Webhook-Signaturestringrequired
CMS-HMAC-SHA256 keyId=<whe_id>:<secret version>,ts=<unix>,nonce=<uuid>,sig=<base64(HMAC-SHA256(secret, POST\nPATH\nts\nnonce\nsha256hex(body)))>, PATH being the path and query of the endpoint URL; each attempt is signed again.
pattern: ^CMS-HMAC-SHA256 keyId=whe_[0-9a-f]{32}:[1-9][0-9]{0,8},ts=[1-9][0-9]{0,11},nonce=[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12},sig=[A-Za-z0-9+/]{43}=$
Request body JSON required
Example request
{
"id": "string",
"type": "chargeback_alert.closed",
"apiVersion": "2026-10-22",
"createdAt": "2019-08-24T14:15:22Z",
"testMode": true,
"data": {
"object": {
"alert": {
"alertId": "string",
"provider": "sandbox",
"network": "visa_rdr",
"alertType": "dispute",
"status": "received",
"testMode": true,
"amount": {
"amount": 1,
"currency": "string"
},
"cardBrand": "string",
"cardLast4": "string",
"descriptor": "string",
"transactionAt": "2019-08-24T14:15:22Z",
"receivedAt": "2019-08-24T14:15:22Z",
"respondBy": "2019-08-24T14:15:22Z",
"decidedVia": "rule",
"decidedAt": "2019-08-24T14:15:22Z",
"outcome": "refunded",
"closedAt": "2019-08-24T14:15:22Z",
"paymentId": "string",
"orderRef": "string",
"siteRef": "string",
"refundId": "string",
"version": -9007199254740991
},
"payment": {
"paymentId": "string",
"cardToken": {
"id": "string",
"customerRef": "string"
},
"status": "processing",
"statusDetail": "authorizing",
"testMode": true,
"siteRef": "string",
"campaignRef": "string",
"orderRef": "string",
"amount": {
"amount": 99999999,
"currency": "EUR"
},
"amountCaptured": {
"amount": 99999999,
"currency": "EUR"
},
"amountRefunded": {
"amount": 99999999,
"currency": "EUR"
},
"captureMode": "sale",
"cardVerification": {
"mode": "zero_amount",
"release": "none"
},
"routing": {
"mode": "mids",
"profileRef": "string",
"transfer": {
"fromMidId": "string",
"reason": "requested"
}
},
"mid": {
"midId": "string",
"merchantRef": "string",
"descriptor": "string"
},
"card": {
"brand": "string",
"last4": "string",
"expMonth": -9007199254740991,
"expYear": -9007199254740991,
"wallet": "apple_pay",
"first6": "string",
"funding": "credit"
},
"authorizationCode": "string",
"chargebackAlerts": [
{
"alertId": "string",
"provider": "sandbox",
"alertType": "dispute",
"status": "received",
"amount": {
"amount": 99999999,
"currency": "EUR"
},
"receivedAt": "2019-08-24T14:15:22Z"
}
],
"connectorRefs": {
"connector": "sandbox",
"orderId": "string",
"customerId": "string",
"transactionIds": [
"string"
],
"purchaseIds": [
"string"
]
},
"nextAction": {
"type": "redirect",
"url": "string"
},
"failure": {
"code": "string",
"category": "soft",
"retryable": true,
"declineReason": "insufficient_funds",
"providerCode": "string",
"providerMessage": "string"
},
"threeDs": {
"required": true,
"outcome": "authenticated"
},
"verification": {
"rule": "string",
"verifiedAt": "2019-08-24T14:15:22Z",
"evidence": {
"property1": "string",
"property2": "string"
}
},
"riskAnalysis": {
"cvc": "match",
"avs": {
"address": "match",
"postalCode": "match"
},
"threeDs": "authenticated",
"riskLevel": "low",
"riskReasons": [
"string"
],
"ipCountry": "string",
"cardCountry": "string",
"checkedAt": "2019-08-24T14:15:22Z"
},
"postPurchase": {
"token": "string",
"expiresAt": "2019-08-24T14:15:22Z",
"remainingSteps": -9007199254740991
},
"postPurchases": [
{
"postPurchaseId": "string",
"paymentId": "string",
"step": -9007199254740991,
"status": "succeeded",
"statusDetail": "authorizing",
"nextAction": {
"type": "redirect",
"url": "string"
},
"amount": {
"amount": 99999999,
"currency": "EUR"
},
"amountRefunded": {
"amount": 99999999,
"currency": "EUR"
},
"connectorRefs": {
"connector": "sandbox",
"orderId": "string",
"transactionIds": [
null
]
},
"failure": {
"code": "string",
"category": "soft",
"retryable": true
},
"metadata": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"succeededAt": "2019-08-24T14:15:22Z"
}
],
"refunds": [
{
"refundId": "string",
"paymentId": "string",
"postPurchaseId": "string",
"amount": {
"amount": 99999999,
"currency": "EUR"
},
"amountVoided": {
"amount": 99999999,
"currency": "EUR"
},
"status": "pending",
"reason": "requested_by_customer",
"source": "api",
"subscriptionCancelled": true,
"failure": {
"code": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"finalizedAt": "2019-08-24T14:15:22Z"
}
],
"metadata": {
"property1": "string",
"property2": "string"
},
"sourcePaymentId": "string",
"cardTokenId": "string",
"renewalRetry": {
"billingCycleRef": "string",
"attempt": -9007199254740991,
"mode": "orchestrator",
"nextAttemptAt": "2019-08-24T14:15:22Z",
"nextAttempt": {
"number": -9007199254740991,
"amount": {
"amount": 99999999,
"currency": "EUR"
}
},
"holdReducedPrice": true
},
"version": -9007199254740991,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"succeededAt": "2019-08-24T14:15:22Z",
"customerData": {
"customer": {
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string"
},
"billingAddress": {
"line1": "string",
"line2": "string",
"postalCode": "string",
"city": "string",
"country": "string"
},
"shippingAddress": {
"line1": "string",
"line2": "string",
"postalCode": "string",
"city": "string",
"country": "string",
"firstName": "string",
"lastName": "string"
}
}
}
}
}
}Returns
200
Received (any 2xx). Any other answer, a timeout or a redirection is retried.