Use this endpoint to remove the webhook endpoint registered for a merchant. Once deleted, IteraPay will stop delivering event notifications for that merchant. To resume receiving events, register a new webhook using POST /weebhook/.
The endpoint path is /weebhook/{merchantID} — note the double ‘e’. Use this exact path in your requests.
Deleting a webhook is immediate. Any in-flight events queued for delivery may be dropped. Ensure you have an alternative monitoring strategy in place before removing a webhook in production.
This endpoint requires Bearer token authentication. API key authentication is not accepted.
Path parameters
The UUID of the merchant whose webhook you want to delete.
Response
Returns 204 No Content on success. No response body is returned.
curl --request DELETE \
--url https://api.iterapay.com/weebhook/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f \
--header 'Authorization: Bearer <token>'