Skip to content

sentForRefund
Webhook

Request

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

You've requested funds to be sent back to your customer's account. If online authorization was required, this will also contain the refund.onlineRefundAuthorization. Payouts through basic disbursement triggers this event.

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": "sentForRefund", "date": "2017-11-03", "reference": "ABC123", "refund": { "onlineRefundAuthorization": "987654" }, "octReference": "12345", "fastRefund": "attempted", "amount": { "value": 100, "currencyCode": "EUR" }, "_links": { "payment": { "href": "" } } } }

Responses

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