{
  "version": "2.4"
}
{
  "version": "2.4"
}

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

The type of the webhook raised. PAYMENT.REFUND in this case.

date
string<date-time>

The date-time that the webhook was sent.

notificationConfig
object

The notification configuration details.

version
string

The payload version

Example:

"2.4"

payment
object

Response

200

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