MoneyHub.Webhooks.Event (MoneyHub v1.0.0)

Copy Markdown View Source

A parsed, verified Moneyhub webhook event.

Known event ids

Financial data:

  • "newTransactions", "updatedTransactions", "deletedTransactions", "restoredTransactions" - transaction lifecycle, each carrying a list of transaction ids (capped at 6000 ids per batch).
  • "deletedAccount" - an account was removed by the institution.
  • "syncCompleted" - a connection's sync cycle finished.
  • "postConnectionEnrichmentCompleted" - categorisation/enrichment finished after sync.

Payments:

  • "paymentCompleted", "paymentPending", "paymentError".

Decisioning:

  • "affordabilityReportSuccess", "affordabilityReportFailure".

Nudges:

  • "addFirstConnection", "balanceThreshold", "reauthReminder", "refreshReminder".

See the webhooks introduction and the individual event pages linked from it for full payload shapes.

Summary

Types

t()

@type t() :: %MoneyHub.Webhooks.Event{
  connection_id: String.t() | nil,
  id: String.t(),
  payload: map(),
  raw: map(),
  user_id: String.t() | nil
}