Automation New
WebhooksWhat are webhooks for?
Switch on Webhooks under Settings › Advanced. Under “Webhooks” in the sidebar you add addresses that are notified about category changes: when you set one of the selected categories (one or more, optionally with sub-categories) for a booking, or a newly fetched booking lands there via a rule, MoneyBook sends the booking as JSON via HTTPS POST.
Per account: if you choose accounts in the webhook as well as or instead of categories, every newly fetched, booked transaction on these accounts is sent – whatever its category (field “event”: “transaction.created”). Pending transactions and older ones from before the accounts were chosen trigger nothing. A transaction matching both account and category is sent only once.
Last successful post: the list and the editor show when the receiver last accepted a transaction – the same on all your devices. Account transactions that arrived since then but were not sent (for example because the webhook was off or another device fetched them) are sent afterwards. The same transaction carries the same “X-MoneyBook-Delivery” on every device, so duplicate deliveries can be dropped.
The JSON contains date, amount, currency, payee with IBAN, purpose, note, account, and the new and previous category (field “event”: “transaction.category_changed”). The header “X-MoneyBook-Delivery” lets the receiver detect duplicate deliveries.
Security: optionally custom headers (e.g. “Authorization: Bearer …”, or for a Parse Cloud function “X-Parse-Application-Id” plus a token header) and an HMAC-SHA256 signature in the header “X-MoneyBook-Signature: sha256=…”, computed over “<X-MoneyBook-Timestamp>.<Body>”. Keys are stored in iCloud Keychain.
If the receiver can’t be reached, the post stays in the queue and is sent again automatically (after 1 minute, 5 minutes, 30 minutes … up to one day). The “Posts” list shows every delivery with its status; use the context menu to view the JSON or send again. Older bookings from the first fetch of a new account don’t trigger posts.