Webhook — Devoluções
Cria um webhook para receber notificações de devoluções de Pix (recebidas ou solicitadas).
POST
/webhooks/refundsExemplo de requisição
curl -X POST https://api.pix.nixfin.com.br/webhooks/refunds \
-H "Authorization: Bearer $BS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"url": "https://api.cliente.com/wh/refunds",
"secret": "whsec_xxx"
}'Exemplo de resposta
{ "id": "wh_rf_001", "event": "pix.refunded", "url": "https://api.cliente.com/wh/refunds" }