Skip to content

Refund full amount

Request

Send a refund request to return the full settled amount to your customer. Note: No request body is needed for this request.

Security
BasicAuth
Path
linkDatastringrequired

Action link that's received in your request

Headers
Content-Typestringrequired
Example:application/vnd.worldpay.payments-v6+json
Acceptstring
Example:application/vnd.worldpay.payments-v6.hal+json
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'

Responses

The refund request has been accepted

Bodyapplication/vnd.worldpay.payments-v6.hal+json
Response

Request to refund an authorization

{ "_links": { "payments:events": { "href": "/payments/events/:linkData" }, "curies": [ { "name": "payments", "href": "/rels/payments/{rel}", "templated": true } ] } }