Webhook — Cash-out
Cria um webhook para receber notificações de saídas (cash-out) por qualquer método.
POST
/webhooks/cashoutExemplo de requisição
curl -X POST https://api.pix.nixfin.com.br/webhooks/cashout \
-H "Authorization: Bearer $BS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"url": "https://api.cliente.com/wh/cashout",
"secret": "whsec_xxx"
}'Exemplo de resposta
{ "id": "wh_co_001", "event": "cashout.completed", "url": "https://api.cliente.com/wh/cashout" }