All webhook events follow a consistent structure:
{
"id": "4ecbe7f9e8c1c9092c000027",
"object": "invoice",
"type": "invoice.created",
"occurred_at": "2021-05-20T09:23:53+00:00",
"data": {
"id": "RH5fF9aeQ"
}
}The data.id field contains the ID of the object related to the event. You can use this ID to fetch the full object via the corresponding API endpoint.