Introducing Modern Treasury Payments. Built to move money across fiat and stablecoins. Learn more →

Journal
July 26, 2019

Webhook Idempotency

We released an update to help our customers process their webhooks more safely.

Image of Matt Marcus
Matt Marcus / Co-Founder and CEO
Explore With AI

We released an update to help our customers process their webhooks more safely. Webhooks may be sent more than once in some cases, like when the webhook is not successfully handled by the receiving party. When this happens, it can be difficult to know if the webhook has been sent already.

Each webhook request will now include a unique ID. This ID will remain the same for every delivery attempt. That way, you can record which webhooks have already been processed so that you don’t process them multiple times.

The ID is sent through the X-Webhook-ID header. For more details, refer to the overview section on webhooks.

For more, head over to our complete API documentation.

Subscribe to our newsletter

Get the latest articles, guides, and insights delivered to your inbox.

Authors

Image of Matt Marcus
Matt MarcusCo-Founder and CEO

Matt is co-founder and CEO of Modern Treasury. Previously, Matt worked at First Round Capital and Ultimate Kronos Group. Matt graduated with a BS in Computer Science from Dartmouth College, where he was captain of the men’s lightweight rowing team. Matt is an avid hiker and is known to celebrate company milestones with SusieCakes deliveries.