Skip to main content
PATCH
/
webhooks
/
{id}
/
status
Ativar/desativar webhook
curl --request PATCH \
  --url https://api.sandbox.z2pay.com/webhooks/{id}/status \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "isActive": true
}
'

Authorizations

x-api-key
string
header
required

API Key da Credential (gerada no Backoffice)

Path Parameters

id
string
required

ID do webhook

Body

application/json
isActive
boolean
required

Response

Status do webhook atualizado