curl -X GET 'https://api.goatpay.com.br/v1/webhooks/list' \
-H 'X-API-Key: gp_live_SUA_CHAVE'
{
"success": true,
"message": "Webhooks listados com sucesso",
"data": {
"items": [{
"id": "clx_webhook",
"url": "https://api.suaempresa.com/webhooks/goatpay",
"description": "ERP produção",
"events": ["payment.paid", "transfer.completed"],
"status": "ACTIVE",
"createdAt": "2026-07-01T12:00:00.000Z"
}]
},
"requestId": "req_abc"
}
Endpoints
Listar webhooks
Lista webhooks da API key.
GET
/
webhooks
/
list
curl -X GET 'https://api.goatpay.com.br/v1/webhooks/list' \
-H 'X-API-Key: gp_live_SUA_CHAVE'
{
"success": true,
"message": "Webhooks listados com sucesso",
"data": {
"items": [{
"id": "clx_webhook",
"url": "https://api.suaempresa.com/webhooks/goatpay",
"description": "ERP produção",
"events": ["payment.paid", "transfer.completed"],
"status": "ACTIVE",
"createdAt": "2026-07-01T12:00:00.000Z"
}]
},
"requestId": "req_abc"
}
curl -X GET 'https://api.goatpay.com.br/v1/webhooks/list' \
-H 'X-API-Key: gp_live_SUA_CHAVE'
{
"success": true,
"message": "Webhooks listados com sucesso",
"data": {
"items": [{
"id": "clx_webhook",
"url": "https://api.suaempresa.com/webhooks/goatpay",
"description": "ERP produção",
"events": ["payment.paid", "transfer.completed"],
"status": "ACTIVE",
"createdAt": "2026-07-01T12:00:00.000Z"
}]
},
"requestId": "req_abc"
}
Authorizations
Chave gp_live_... criada em Integrações → Chaves de API no dashboard.

