Get an event by identifier

Learn how to get an event by its identifier.

Setting Event parameters

When you get an event by identifier, you'll need to provide the required parameters listed in the following table.

Parameter

Required/Optional

Description

id

Required

The event identifier.

Example get request and response

Get an event by its identifier with a GET request:

cURL
cURL
curl https://api.digitalriver.com/events/evt_d290f1ee-6c54-4b01-90e6-d701748f0851

‌ A 200 OK response returns the Event object:

Event object example
Event object example
{
"id": "evt_d290f1ee-6c54-4b01-90e6-d701748f0851",
"createdTime": "2020-05-12T13:23:06Z",
"apiVersion": "2020-05-12",
"data": {
"object": {},
"previousAttributes": {}
},
"liveMode": true,
"request": {
"id": "_43ef187f-634e-4b9f-8dc4-082c352525ee"
},
"type": "charge.succeeded"
}