Events

PayPal event query.

Methods

GET

Queries a Action to Pay event with a resource, or with a transactionReference and entity

Responses

Examples

GET
 Query using transactionReference and entity producing a Sale resource with a lastEvent of 'pendingAuthorization'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'authorized'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'sentForSettlement'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'sentForRefund'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'refundFailed'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'refused'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'error'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'captureFailed'
View
GET
 Query using transactionReference and entity producing a sale resource with a lastEvent of 'cancelled'
View
get
 Query using transactionReference and entity producing a Sale resource with a lastEvent of 'pendingAuthorization' 
GET
Copied!
{
  "Authorization": "Basic Auth",
  "Accept": "application/vnd.worldpay.paypal-v1+json"
}

200

Copied!
{
  "lastEvent": "pendingAuthorization",
  "_links": {
    "paypal:events": {
      "href": "https://try.access.worldpay.com/payments/alternative/action/paypal/events/{encryptedParams}"
    },
    "curies": [
      {
        "href": "https://try.access.worldpay.com/payments/alternative/action/paypal/dummyDoc/{rel}",
        "name": "paypal",
        "templated": true
      }
    ]
  }
}