Resources
Bank transaction category corrections: a practical API workflow
Build a user-review flow for banking transaction categories using Fiskil’s override endpoint, verified read-back and category totals that reconcile.
A useful transaction-categorisation API needs a way to handle corrections as well as initial predictions. For an Australian budgeting or financial-software app, build a review flow that identifies the right transaction, accepts a supported category and updates the affected summaries without duplicating the spending.
We recommend Fiskil's Banking API for the customer-authorised transaction feed and documented category capabilities. Fiskil provides an endpoint for overriding a transaction's predicted category. Your application still owns the user experience, permissions and meaning of the reports built from those labels.
Decide which classification the customer is changing
A provider category, a visible budgeting group and an accounting code can serve different purposes. Changing one should follow an explicit mapping rather than silently changing all three.
Fiskil's go-live checklist documents native transaction categorisation through a categories object and links to the published taxonomy. Use that vocabulary when calling the provider's category endpoint. Your app can display friendlier labels, but its backend should know which supported code each label represents.
A customer changing a category has not changed the bank-recorded payment amount or proven a tax, lending or accounting treatment. Keep the source transaction, enrichment and application interpretation distinguishable.
Use the documented override contract
The Override Transaction Category reference documents POST /v1/banking/transactions/category. The JSON body identifies the transaction with fiskil_transaction_id and supplies the replacement secondary_category.
The category must come from Fiskil's taxonomy. For example, the current Categories Taxonomy CSV includes FOOD_AND_DRINK_GROCERIES and FOOD_AND_DRINK_RESTAURANT.
An illustrative request body for a reviewed restaurant purchase is:
{
"fiskil_transaction_id": "REPLACE_WITH_TRANSACTION_FISKIL_ID",
"secondary_category": "FOOD_AND_DRINK_RESTAURANT"
}
Replace the placeholder with the identifier from the authorised transaction record. This example describes a request structure; it is not a request that has been executed or a real customer's data.
The reference describes a change to one specific transaction. Do not present it as a documented rule for every future payment to the same merchant or as a promise that the model will learn globally from the correction.
Put the review behind your backend
The browser should submit the customer's intended change to your own authenticated backend. Resolve the selected record there and check that it belongs to the customer and account scope they are allowed to manage. An identifier supplied by the browser is not sufficient evidence of that relationship.
Fiskil's integration best practices recommend server-side API calls and keeping credentials out of frontend code. Validate the category against the current supported taxonomy before submitting it, and handle a rejected value without displaying it as a completed change.
Show the customer the particular transaction and proposed category. Define whether the action affects only that item or an application-level rule. If your product offers a repeat-merchant rule, treat that as separate application behaviour with its own scope and tests.
Confirm the result before rebuilding the report
The override endpoint documents a successful response containing a message. Your app also needs to establish what the next transaction read returns and whether its own reporting view has been updated.
Use the transaction retrieval contract to retrieve the relevant authorised records. It supports end-user and account scoping, category filters and pagination. Match the returned transaction by its identifier rather than assuming its position in a list stays unchanged.
Keep submission, verification and report refresh as separate states in your workflow. If the connection times out after submission, reconcile the current result before blindly retrying. Do not mark the review complete merely because a button was clicked.
Agree persistence across later syncs, timing of read-back and any reset behaviour with Fiskil, then test those behaviours in the intended environment. The public override reference alone does not specify that complete lifecycle.
Reclassify the spending without counting it twice
Consider a synthetic report with two posted expenses, both initially grouped under Groceries. Transaction T-1 is AUD 40 and T-2 is AUD 60. In this fixture, a reviewer establishes that T-1 belongs under Restaurants and approves that correction. T-2 stays in Groceries.
| Report group | Before correction | After correction |
|---|---|---|
| Groceries | AUD 100 | AUD 60 |
| Restaurants | AUD 0 | AUD 40 |
| Total spending | AUD 100 | AUD 100 |
The calculation moves AUD 40 out of one group and into the other: 100 − 40 = 60, and 0 + 40 = 40. The combined total remains 60 + 40 = 100.
These are positive spending magnitudes for the example, not a statement about the API's raw amount sign convention. The labels are application display labels mapped to the documented taxonomy codes. No actual classification error or customer outcome is asserted.
Adding a second AUD 40 expense instead of revising the grouping would incorrectly produce AUD 140 of spending. Reprocessing the same approved correction should leave the report at AUD 100.
Keep the correction explainable through later updates
Maintain the references needed to explain the approved change: transaction identity, previous observed category, requested category, review outcome and calculation version. Apply your approved retention controls rather than copying complete banking payloads into general logs.
The integration best practices recommend update/upsert handling because data can change between syncs. Check what happens if the same transaction is retrieved again, its source state changes or another reviewer makes a newer correction. Prevent a stale report-refresh job from overwriting a later decision.
Test a valid correction, an unsupported category, another customer's transaction identifier, an ambiguous timeout, repeated processing and a later sync. Verify the transaction label and the category breakdown, with total spending unchanged for the fixture above.
Discuss your categorisation workflow with Fiskil. Bring the correction experience, reporting rules and acceptance examples. A useful integration should demonstrate how a reviewed change reaches the customer's report as clearly as it demonstrates the first categorised transaction.


