objectChangeHistory and objectType: SPEND_ACCOUNTS.
Prerequisites: a user access token with the
VIEW_OBJECT_CHANGE_HISTORY scope, and the userCashBalanceId of a spend account on the account. For an OAuth grant restricted to specific spend accounts, only those spend accounts are available. See Activity history overview for the full query, response fields, and access rules.Creation
The spend account recordsOBJECT_CREATED, with change: {}, when it’s opened. Spend accounts are opened directly, and also automatically when another action needs one.
Changes
A change records oneFIELD_CHANGED event per field, with change: { "field", "old", "new" }.
Default changes
Switching the default touches two spend accounts, and each records its own event:- The previous default records
is_default:true→false. - The new default records
is_default:false→true. A spend account that’s created as the default may not record this event, because it was created that way.
is_default: true → false on the closed account, and false → true on the spend account that replaces it.
Ownership and access
A spend account’s ownership, access, and invite events follow the shared rules in Ownership and access.- Owner. Spend accounts created in the Fluz app record
OWNER_ASSIGNEDfor the owner picked, or for the creator if no one was picked. It’s also recorded when you callassignObjectOwnerwithobjectType: SPEND_ACCOUNTS. See Create a wallet for an authorized user.transferObjectOwnerrecordsOWNER_TRANSFERRED. - Access. Changing the spend accounts an authorized user can use, in the Fluz app, records
ACCESS_GRANTED,ACCESS_LEVEL_CHANGED, orACCESS_REVOKEDon each spend account whose access changed.subjectUserIdis the authorized user. - Access requests. A request for access to the spend account records
APPROVAL_REQUESTED, thenAPPROVAL_APPROVED,APPROVAL_DECLINED, orAPPROVAL_EXPIRED. Theapproval_typeisACCOUNT_ACCESSand theapproval_codeis100004or100005. See Approvals.
Systems you can see
What isn’t recorded
- Balances, and the money that moves through the account: deposits, withdrawals, transfers, and spend. Use Transaction activity for those.
- Requests for payment instructions, status letters, and other account documents.
Next steps
Activity history overview
The query, response fields, actors, approvals, and access levels.
Spend accounts
Create, edit, and close the spend accounts that appear in this history.