Atualizar webhook
Altera a URL, o status ou os eventos de um webhook; aceita atualização parcial.
curl -X PATCH "https://api.payzu.processamento.com/v1/user/webhooks/cm3w7k1t40000q8f2r5b9x3ad" \ -H "Authorization: Bearer {{token}}" \ -H "Content-Type: application/json" \ -d '{}'const body = JSON.stringify({})fetch("https://api.payzu.processamento.com/v1/user/webhooks/cm3w7k1t40000q8f2r5b9x3ad", { method: "PATCH", headers: { "Content-Type": "application/json", "Authorization": "Bearer {{token}}" }, body})import requestsurl = "https://api.payzu.processamento.com/v1/user/webhooks/cm3w7k1t40000q8f2r5b9x3ad"body = """{}"""response = requests.request("PATCH", url, data = body, headers = { "Content-Type": "application/json", "Authorization": "Bearer {{token}}"})print(response.text)