Skip to content

refundFailed
Webhook

Request

Bodyapplication/vnd.worldpay.events-v1.hal+json

The refund couldn't be processed and the funds were returned to your account. If online authorization was required, this will also contain the refund.refusal.code and refund.refusal.description.

eventIdstring

The unique identifier for the event.

Example:"bb55ca5a-e05c-47e1-8e94-e88bac1a0a17"
eventTimestampstring

Date of event.

Example:"2018-06-13T14:18:13.407"
eventDetailsobject
Payload
{ "eventId": "bb55ca5a-e05c-47e1-8e94-e88bac1a0a17", "eventTimestamp": "2018-06-13T14:18:13.407", "eventDetails": { "classification": "payment", "downstreamReference": "3378792436", "orderReference": "my-order-ref", "transactionReference": "Memory265-13/08/1876", "paymentId": "payI-dUcet9fk4_X4qZU0hpU0", "commandId": "cmd-Rjc4HJwnBdj3Ri9v10vT0", "merchant": { "entity": "default" }, "type": "refundFailed", "date": "2017-11-03", "reference": "ABC123", "refund": { "refusal": { "code": "5", "description": "Do not honor" } }, "amount": { "value": 100, "currencyCode": "EUR" }, "_links": { "payment": { "href": "" } } } }

Responses

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