Skip to content

Submit a payment reverse request

Request

Send a reversal request, which is processed as a cancel or refund request depending on the time passed after you have submitted your sale request. For US entities the payment is refunded 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
Path
linkDatastringrequired
Headers
WP-Api-Versionstringrequired

The API version

Value:"2024-06-01"
Example:2024-06-01
curl -i -X POST \
  -u '<username>:<password>' \
  'https://try.access.worldpay.com/api/payments/{linkData}/reversals' \
  -H 'WP-Api-Version: 2024-06-01'

Responses

Accepted

Bodyapplication/json
outcomestring
Value:"sentForReversal"
Response
{ "outcome": "sentForReversal", "_links": { "self": { "href": "https://try.access.worldpay.com/api/payments/eyJrIjoxLCJkIjoiN3VTNVpzK1h4UVFNL1R4aGZjSVV5TFFhMWZlNXRLOVM3M0k1MVdwN21PMXIySnNadTJ5YUhzZE45dDN5TDRnYk8rQk9PTzJzVWUxTkZUeXFBWjJZMUE9PSJ9" } } }