New Transactions (newTransactions)

Sent when an account sync brings in new transactions.

Id: newTransactions

An event that notifies when Moneyhub has synchronised an account, and new transactions have come through.

Payload

These fields are sent in the payload object of the webhook envelope.

NameTypeDescription
syncIdstringThe ID of the sync that found the transactions. Present when the event comes from a sync
accountsarrayAccounts that contain new transactions
accounts[].idstringAccount id
accounts[].transactionsarrayTransaction ids

Example (JSON format)

{
  "id": "abe168ce-1b2f-4c38-9c92-db5730485cb3",
  "eventType": "newTransactions",
  "userId": "5c79210bbac25ecb5e71ac40",
  "payload": {
    "syncId": "7f3ef231-e9bf-4345-af1a-d1e9e727382f",
    "accounts": [
      {
        "id": "6d0baf11-248e-4c11-9c04-97b7758b4e04",
        "transactions": [
          "d520402a-d982-43ee-b1d1-bdfd282249ea",
          "613586bf-dac9-4996-9c03-7194a7d62297"
        ]
      }
    ]
  }
}

This example uses the JSON format. JWT webhooks carry the same payload fields in a different envelope, and batched webhooks list events without payloads. See Webhook Format.

Related