Create an event

Creates a new event, sending event data in the request body.

Two objects are required: general_data and either transaction_data or action_data. general_data requires the fields: event_id, event_type, and event_time. transaction_data requires only the field amount.

If we receive a request to create an event with an event_id that already exists in our system, we treat it as an upsert and perform an update on the existing event. It is not possible to update general_data.event_id once the event has been created. All other values can be overwritten.

Follow the links for more information:

Click Try It! to start a request and see the response here!