curl --request GET \
--url https://api.ai2fin.com/api/transaction-history/{entityType}/{entityId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"history": [
{
"id": "<string>",
"userId": "<string>",
"entityType": "transaction",
"entityId": "<string>",
"fieldName": "<string>",
"oldValue": "<string>",
"newValue": "<string>",
"changeReason": "<string>",
"changedBy": "user",
"changeSource": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Get full change history for a transaction, expense, bill, or bill pattern.
curl --request GET \
--url https://api.ai2fin.com/api/transaction-history/{entityType}/{entityId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"history": [
{
"id": "<string>",
"userId": "<string>",
"entityType": "transaction",
"entityId": "<string>",
"fieldName": "<string>",
"oldValue": "<string>",
"newValue": "<string>",
"changeReason": "<string>",
"changedBy": "user",
"changeSource": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}JWT token obtained from /api/auth/login endpoint
transaction, expense, bill, billPattern