Webhook structure
Each triggered webhook event sends a POST request to the specified endpoint with a payload. The payload contains an object with two properties: event and data.
Here's a general structure of the payload:
{
"event": "<<event name>>",
"data": {
...
}
}
Where event contains the name of the event that has been triggered, and data is an object carrying the event-specific information.