financial_account.moved
One of your financial accounts moved to another entity of the same workspace, taking its transactions and accounting data with it.
Moving a financial account takes its transactions, documents, and accounting data to another entity of the same workspace. Anything your integration keyed by entity, such as synced transactions or cached reports, now belongs to a different set of books.
This event tells your integration which entity the account left and which one it joined.
When it fires
The event is sent once each time an account moves from one entity to another entity of the same workspace. It fires the same way whether the move was made in Kick or through Financial Accounts, so a move your own integration makes reaches your endpoint too.
It is held back in these cases:
Moving an account to the entity it already belongs to changes nothing, and sends no event.
Assigning an account that had no entity sends
financial_account.createdinstead, because the account wasn't visible on the Platform API before.
The event is sent after the move is saved, to every organization with Platform API access that the account's workspace belongs to.
Payload
{
"event": "financial_account.moved",
"version": 1,
"occurredAt": 1761645600,
"payload": {
"financialAccountId": "3f9c2a71-5d8e-4b6a-9c1f-7e2d4a6b8c90",
"workspaceId": "8d3a1b52-9f1d-4a7e-b0a1-2c5d6e7f8a90",
"entityId": "c2a7e9f4-1b3d-4e6a-8f0c-5d7b9a1e3c24",
"previousEntityId": "b6c4d2e1-7a3f-4c8b-9e0d-1f2a3b4c5d6e"
}
}payload carries:
workspaceId
uuid
Workspace the account and both entities belong to
entityId
uuid
Entity the account moved to
previousEntityId
uuid
Entity the account moved from
The fields around it are the same on every event. See The event envelope.
Handling it
Re-file whatever you hold for the account under entityId. Transactions and journal entries that belonged to previousEntityId through this account now belong to the new entity, so refresh reports and balances you cached for both entities.
An account can move more than once in a short time, and a retried delivery can arrive after a newer one. Compare occurredAt with the last event you applied for the account, or read the account's current entityId from Financial Accounts, rather than applying events in arrival order.
Last updated
Was this helpful?
