Menu

Events

Pay Direct event query.

Methods

GET

Queries a pay direct event with a resource, or with a Transaction Reference and entity

Responses

Examples

GET
 Sale resource with a lastEvent of 'authorized'
View
GET
 Sale resource with a lastEvent of 'authorized'
View
GET
 Sale resource with a lastEvent of 'Sent for Settlement'
View
GET
 Sale resource with a lastEvent of 'refused'
View
GET
 Sale resource with a lastEvent of 'Sent for Cancellation'
View
GET
 Sale resource with a lastEvent of 'Sent for Refund'
View
get
 Sale resource with a lastEvent of 'authorized' 
GET
Copied!
{
  "Authorization": "Basic Auth",
  "Accept": "application/vnd.worldpay.pay-direct-v1+json"
}

200

Copied!
{
  "lastEvent": "authorized",
  "_links": {
    "direct:events": {
      "href": "https://try.access.worldpay.com/payments/alternative/direct/events/{resource}"
    },
    "direct:reversal": {
      "href": "https://try.access.worldpay.com/payments/alternative/direct/reversals/{resource}"
    },
    "curies": [
      {
        "name": "direct",
        "href": "https://try.access.worldpay.com/rels/payments/alternative/direct/{rel}",
        "templated": true
      }
    ]
  }
}