Privatbank Trigger

Получение webhook уведомлений от Privatbank

Privatbank Trigger

AI-generated

Summary

Receive and process Privatbank webhook events filtered by specified event types and optionally by account ID, with optional signature verification and customizable response data.

Inputs

  • Event Types (required) — Select one or more event types to handle: 'Invoice Status Changed' (StatementItem) and/or 'New Transaction' (Transaction). Defaults to ['StatementItem'].
  • Verify Signature — Enable or disable verification of the webhook request signature to ensure authenticity. Defaults to true.
  • Secret Key — Secret key used to verify the webhook signature if signature verification is enabled. If not provided, the node uses the credential's private key.
  • Response Mode — Choose whether to return the webhook data ('Return Data') or no data ('No Response Data') in the response to the webhook POST request. Defaults to 'Return Data'.
  • Options — Additional options including: 'Include Raw Body' to include the raw JSON string of the webhook body in the output; 'Include Headers' to include webhook request headers in the output; and 'Filter by Account' to only process events associated with a specific account ID.

Output shape

a single webhook output with JSON data describing the received event, or an empty response depending on configuration

Emits data only if the event type matches the selected types and (if set) account ID matches the filter. Supports returning event details including parsed invoice information for 'StatementItem' events. If signature verification fails or required data is missing, responds with HTTP error status and error details. The webhook automatically responds with HTTP 200 and a confirmation message when the event is filtered out or processed successfully.

Discussion