PagnovoPagnovodocs

Referência da API

Listar webhooks

Lista todos os webhooks globais ativos do User no ambiente atual (TEST ou LIVE, decidido pela chave usada). Webhooks de outro ambiente NÃO aparecem nesta lista.

GET/v2/webhooks

Autenticação

HTTP Basic Auth. Envie sua secret key no header:

Authorization: Basic {base64(secret:SUA_SECRET_KEY)}

Respostas

200

Array de webhooks (pode ser vazio).

JSON
[
  {
    "id": "wh_8f2c1a9d",
    "url": "https://api.seu-dominio.com/webhooks/exstack",
    "description": "Slack alerts",
    "events": ["cashin.paid", "cashin.refunded", "subscription.canceled"],
    "active": true,
    "environment": "LIVE",
    "lastDeliveryAt": "2026-05-28T15:30:00.000Z",
    "lastDeliveryStatus": "SUCCESS",
    "lastDeliveryStatusCode": 200,
    "createdAt": "2026-05-01T10:00:00.000Z"
  }
]

Exemplos

cURL
curl "https://api.pagnovo.com/v2/webhooks" \
  -H "Authorization: Basic $(echo -n 'secret:SUA_SECRET_KEY' | base64)"