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
Name
Value
Authorization
Bearer <token>
Path Variables
Name
Value
id
we_01k9ta206722rj53t7jqrc95me
Body
Field
Type
Description
Example
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"}}