Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

The event object

Something that happened in your account, as webhooks send it.

An event records something that happened, such as payment.succeeded. It's thin on purpose: it names the object and what happened to it, never the object's data, personal data or a secret. Fetch the object with the API to act on its current state. See Webhooks.

Attributes

NameTypeDescription
idstringUnique identifier, starting evt_. A repeat of the same event carries the same ID.
objectstringAlways event.
typestringWhat happened, resource.action. See the event types.
livemodebooleantrue in live mode.
related_objectobjectThe object it's about: its type and id.
request_idstring or nullThe request that caused it, req_..., if one did.
sourceenumapi, dashboard or automatic.
createdtimestampWhen it happened.

Events are listed for 13 months, in the order Sovgate recorded them, which isn't always the order things happened.

Example

json
{  "id": "evt_a4587cb860c9e61c88297d3d",  "object": "event",  "type": "payment.succeeded",  "livemode": false,  "related_object": {    "type": "payment",    "id": "pay_baa7f53c0bc0867df75250d9"  },  "request_id": "req_4557a8e786a8ac2bfeec6542",  "source": "automatic",  "created": "2026-11-27T14:05:12Z"}

Endpoints

EndpointWhat it does
GET /v1/events/{id}Get an event by its ID.
GET /v1/eventsList your events, in the order recorded.