Pular para o conteúdo principal
GET
/
api
/
webhooks-config
Listar webhooks da conta
curl --request GET \
  --url https://sandbox.ntxpay.com/api/webhooks-config \
  --header 'Authorization: Bearer <token>'
{
  "accountId": 93,
  "webhooks": [
    {
      "id": 42,
      "url": "https://example.com/webhooks/mx",
      "events": [
        "cash_in",
        "cash_out"
      ],
      "isActive": true,
      "createdAt": "2026-05-01T10:30:00.000Z"
    }
  ],
  "total": 2
}

Autorizações

Authorization
string
header
obrigatório

JWT obtido em POST /api/auth/token

Resposta

Lista de webhooks

accountId
integer
Exemplo:

93

webhooks
object[]
total
integer
Exemplo:

2