Event Resource

This query returns requested event representation.

Table - /events/{id}

Resource Template
/events/{id}
Http Method GET
Description Returns requested event representation.
Input
{
}
Output
200 OK
Ping Event
{
"id":
"1234-1234-234-5345345","createOnUtc":“2015-12-22T22:21:53Z",
"eventType":"ping","summary":"Ping request was successful"
}
Payment Status Changed Event
{
"id":
"1234-1234-234-5345346","createOnUtc":“2015-12-22T22:21:54Z",
"eventType":"payment.statusChanged",
"summary":"A payment status has been changed","resource": 
{
//same payment payload as received by GETting
a collection of payments
"id":
"<paymentId>", "partnerReference",
"<partner generated reference>",
"status": "<paymentStatus>","errorCode":
"<errorCode>:<error message>",
//
<supplied for payments in NotAccepted,
Rejected or Returned status>
"createdOn":"<timestamp>",
"lastUpdatedOn":"<timestamp>"
}
}
Payment Not Accepted Event
{
"id":
"1234-1234-234-5345347","createOnUtc":“2015-12-22T22:21:57Z",
"eventType":"payment.notAccepted",
"summary":"A payment is not accepted for processing","resource":
[
{
//same payment payload as received by GETting a
collection of payments
"id":"<paymentId>",“status”: “<paymentStatus>”,
"errorCode":"<errorCode>:<error message>"
}
]
}
Order Status Changed Event
{
"id": "1234-1234-234-5345348","createOnUtc":“2015-12-22T22:21:58Z",
"eventType":"order.statusChanged",
"summary":"An orderstatus has been changed","resource":
{
//same order payload as received by GETting a
collection of orders
"id":"<orderId>","customerId":"<customerId>",
"partnerReference", "<partner generated reference>",
“status”: “<paymentStatus>”,"createdOn":"<timestamp>",
"lastUpdatedOn":"<timestamp>",    
"settlementCurrency":"<order settlement currency>",
}
Output - if a requested event was not found
404 Not Found