PayZuDocs

Alterar endpoint de webhook

Troca a URL ou os eventos de um endpoint, ou o desativa e reativa.

PUThttps://api.hub.payzu.com.br/api/v1/transactions/webhooks/{webhookId}
PUT
/transactions/webhooks/{webhookId}

Path Params

Identificador do endpoint.

Body Params

Responses

curl -X PUT "https://api.hub.payzu.com.br/api/v1/transactions/webhooks/cmu6w1h0k000101s6ef34gh56" \  -H "Authorization: Bearer {{token}}" \  -H "Content-Type: application/json" \  -d '{    "isActive": false  }'
{
"id": "cmu6w1h0k000101s6ef34gh56",
"url": "https://sualoja.com.br/webhooks/payzu",
"isActive": false,
"createdAt": "2026-10-01T12:00:00.000Z",
"updatedAt": "2026-10-06T09:00:00.000Z"
}