Skip to content

Query payment status recovery

Request

Send a request to find out the current status of your payment after it has been authorized using the events action link. This action is only to be used for recovery purposes. Use this action if your authorization requests timed out. The response determines if your authorization request was successful and your next available actions are returned.

Security
BasicAuth
curl -i -X GET \
  -u '<username>:<password>' \
  https://try.access.worldpay.com/payments/events

Responses

Retrieve the last event of a payment

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

Querying a payment event with a transaction reference REF123

{ "lastEvent": "Authorized", "_links": { "payments:cancel": "/payments/authorizations/cancellations/:linkData", "payments:settle": "/payments/settlements/full/:linkData", "payments:partialSettle": "/payments/settlements/partials/:linkData", "curies": [ { "name": "payments", "href": "/rels/payments/{rel}", "templated": true } ] } }