Update a Webhook
Changed onWith this endpoint, you can update an existing webhook configuration. You can modify the target URL, secret, or change the list of events you're subscribed to.
patch/webhooks/{id}
Request
- Base URLhttps://api.sandbox.waza.co/payouts/v1
- URLhttps://api.sandbox.waza.co/payouts/v1/webhooks/{id}
- Authnone required
Path parameters
idstring required
unique {id} of account owner e.g. 0947445e-333f-4b3b-a5f9-27267429d2b0
Headers
x-waza-keystring
your app key
Request body
Response
200
Example response
{
"data": {
"id": "0f21e451-d2a2-4630-be1d-9afeb509375d",
"created_at": "2023-08-10T09:36:05.941Z",
"updated_at": "2023-08-10T09:36:05.941Z",
"state": "DISABLED",
"url": "https://127.0.0.1:3001",
"secret": "1234",
"enabled_events": [
"transaction.created"
]
}
}Changes
- info
endpoint added
- info