Send a refund request to return the full settled amount to your customer. Note: No request body is needed for this request.
Security
BasicAuth
- Test (Try)https://try.access.worldpay.com/payments/settlements/refunds/full/{linkData}
- Livehttps://access.worldpay.com/payments/settlements/refunds/full/{linkData}
curl -i -X POST \
-u '<username>:<password>' \
'https://try.access.worldpay.com/payments/settlements/refunds/full/{linkData}' \
-H 'Accept: application/vnd.worldpay.payments-v6.hal+json' \
-H 'Content-Type: application/vnd.worldpay.payments-v6+json'Response
Request to refund an authorization
{ "_links": { "payments:events": { "href": "/payments/events/:linkData" }, "curies": [ { "name": "payments", "href": "/rels/payments/{rel}", "templated": true } ] } }