Pular para o conteúdo principal
POST
/
v1
/
discovery
/
webhooks
/
{provider}
/
{webhookToken}
Receber um webhook de agregador
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/discovery/webhooks/{provider}/{webhookToken} \
  --header 'Content-Type: application/octet-stream' \
  --header 'X-Webhook-Signature: <api-key>' \
  --data '"<string>"'
{
  "code": "<string>",
  "detail": "<string>",
  "errors": [
    {
      "location": "<string>",
      "message": "<string>",
      "value": "<unknown>"
    }
  ],
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "about:blank"
}

Autorizações

X-Webhook-Signature
string
header
obrigatório

HMAC-SHA256 hex do corpo bruto da requisição, provando que um webhook de agregador de entrada originou-se do provedor configurado.

Cabeçalhos

X-Webhook-Signature
string

Hex HMAC-SHA256 of the raw body for signing providers; omitted by IP-allowlist providers HMAC-SHA256 hex do corpo bruto para provedores de assinatura; omitido por provedores com allowlist de IP

Parâmetros de caminho

provider
string
obrigatório

Aggregator provider the token was minted for (pluggy or belvo) Provedor de agregador para o qual o token foi emitido (pluggy ou belvo)

Exemplo:

"pluggy"

webhookToken
string
obrigatório

Opaque webhook token minted for the connection; hashed and resolved to a tenant binding server-side Token de webhook opaco emitido para a conexão; hasheado e resolvido para um binding de tenant no servidor

Corpo

application/octet-stream

The body is of type file.

Resposta

Aceito