Delete Webhook Event
The Delete Webhook Event endpoint allows merchants to soft delete a webhook event from their records. This means that while the event is marked as deleted and will no longer be active or visible in the primary event logs, it is not permanently removed from the database. This approach helps merchants manage their data storage and keep their event logs clean and relevant by marking outdated or unnecessary entries as deleted.
When a webhook event is soft deleted, all associated data, including response details and metadata, remain in the database but not visible. This ensures that the system's storage is optimized and that merchants only retain the most critical and up-to-date information in their active logs. Soft deleting irrelevant or old events can also improve the performance of the list and retrieve endpoints by reducing the volume of data processed.
Importantly, soft deleting a webhook event does not affect the configuration of the webhook URL or the ability to receive future events. Merchants can continue to receive and manage new events as usual. Additionally, soft-deleted events can be restored if needed, allowing merchants to recover any mistakenly deleted data.