Investment webhooks communicate changes in investment-type accounts. For changes in ordinary accounts, see Item Webhooks. For changes in liability-type accounts, see Liability Webhooks.
Whenever holdings are added to or updated in an investment account, LinkMoney API triggers a webhook to notify authorized developers of the change.
{
"webhook_type": "HOLDINGS",
"webhook_code": "DEFAULT_UPDATE",
"item_id": "wz666MBjYWTp2PDzzggYhM6oWWmBb",
"error": null,
"new_holdings": 19,
"updated_holdings": 0
}
Whenever new transactions are detected on an investment account, or whenever transactions are cancelled on an investment account, LinkMoneyAPI fires a webhook to notify authorized developers of the change.
{
"webhook_type": "INVESTMENTS_TRANSACTIONS",
"webhook_code": "DEFAULT_UPDATE",
"item_id": "wz666MBjYWTp2PDzzggYhM6oWWmBb",
"error": null,
"new_investments_transactions": 16,
"canceled_investments_transactions": 0
}