Retrieve an event

Retrieves the details of an event. Supply the unique identifier of the event, which you might have received in a webhook.

ARGUMENTS

Scroll inside to view more
Argument
Description
event REQUIRED
The identifier of the event to be retrieved.

Returns Returns an event object if a valid identifier was provided. All events share a common structure, detailed to the right. The only property that will differ is the data property.

In each case, the data dictionary will have an attribute called object and its value will be the same as retrieving the same object directly from the API. For example, a customer.created event will have the same information as retrieving the relevant customer would.

In cases where the attributes of an object have changed, data will also contain a dictionary containing the changes.

API Endpoints
Sandbox Link
GET
https://api-test.lotuspay.com/v1/events/{ID}
Production Link
GET
https://api.lotuspay.com/v1/events/{ID}
Authorization Header
Last updated 1 year ago