Saltar al contenido principal
POST
/
v1
/
discovery
/
webhooks
/
{provider}
/
{webhookToken}
Recibir un webhook de aggregator
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"
}

Autorizaciones

X-Webhook-Signature
string
header
requerido

HMAC-SHA256 hex del cuerpo de la solicitud sin procesar, que prueba que un webhook de aggregator entrante se originó del proveedor configurado.

Encabezados

X-Webhook-Signature
string

Hex HMAC-SHA256 of the raw body for signing providers; omitted by IP-allowlist providers HMAC-SHA256 hex del cuerpo sin procesar para proveedores con firma; se omite en proveedores con lista de IP permitidas

Parámetros de ruta

provider
string
requerido

Aggregator provider the token was minted for (pluggy or belvo) Proveedor de aggregator para el que se emitió el token (pluggy o belvo)

Ejemplo:

"pluggy"

webhookToken
string
requerido

Opaque webhook token minted for the connection; hashed and resolved to a tenant binding server-side Token de webhook opaco emitido para la conexión; con hash y resuelto a un binding de tenant en el servidor

Cuerpo

application/octet-stream

The body is of type file.

Respuesta

Aceptado