Update Webhook EndPoint
Update Webhook EndPoint
PATCH {{Environment_URL}}/events/v1/webhooks/:id
Update a webhook URL.
It is possible to register more than one URL for each scope. When updating a webhook, only the entry with the specified id will be modified — other registered URLs for the same scope remain unchanged
Headers
Authorization
Bearer <token>
Path Variables
id
we_01k9ta206722rj53t7jqrc95me
Body
url
string
The endpoint URL that will receive webhook events.
"https://example.com/webhook"
description
string
A short description for the webhook endpoint.
"Webhook for PIX and withdrawal events"
events
array[string]
A list of event types that will trigger notifications.
["charge.succeeded", "withdrawal.pending"]
metadata
object
Optional field for any custom data you want returned in webhook payloads.
{"myId": "myValue"}
Request Body
{
"url": "https://example.com/webhook",
"description": "Webhook for PIX and withdrawal events",
"events": [
"charge.succeeded",
"withdrawal.pending"
],
"metadata": {
"myId": "myValue"
}
}Response

