Your reversal request is processed as a cancel or refund request. This depends on the time passed after your sale request was submitted. For US entities the payment is refunded after one day after a successful sale request. Any other payment moves to refunded after 15 minutes. Note: No request body is needed for this request.
Security
BasicAuth
- Test (Try)https://try.access.worldpay-bsh.securedataplatform.co.uk/payments/sales/reversals/{linkData}
- Livehttps://access.worldpay-bsh.securedataplatform.co.uk/payments/sales/reversals/{linkData}
curl -i -X POST \
-u '<username>:<password>' \
'https://try.access.worldpay-bsh.securedataplatform.co.uk/payments/sales/reversals/{linkData}' \
-H 'Accept: application/vnd.worldpay.payments-v6.hal+json' \
-H 'Content-Type: application/vnd.worldpay.payments-v6+json'Response
Request to reverse the settlement
{ "_links": { "payments:events": { "href": "/payments/events/:linkData" }, "curies": [ { "name": "payments", "href": "/rels/payments/{rel}", "templated": true } ] } }