A shopper asks, “How much did I spend on groceries this week?” Her bank has corrected a $90 purchase to $80, but her finance app still shows $90. If the assistant reads yesterday’s summary, it will confidently give her the old answer.
A financial data API integration connects the account the customer authorized, keeps track of changes from the source and gives the interface a date for the answer it displays. This guide follows one grocery purchase through four steps. It also shows where Bluwhale can add user context when the app passes a question to a financial AI agent.
1. Start with the question your app will answer
For a weekly spending summary, decide exactly what counts. Use a specific account, date range and currency. Decide whether pending purchases appear in the total and how a refund affects it. Put those choices next to the figure so a customer can reproduce it from their statement.
For example, “$80 in posted grocery purchases on your selected card, Monday through Sunday” tells a customer what to compare. “You spent $80” leaves them guessing whether a second card or a pending charge is included. If you are still choosing a source, the financial API provider comparison explains which kinds of records each provider supplies.
2. Connect the account the customer chose
Let the customer choose the source and see what the app will read. For this grocery example, a read-only view of the selected card’s transactions is sufficient. Record which account the customer connected. A similar display name or a familiar wallet address is too little evidence to link two sources to the same person.

Give the customer a way to recognize the connection later, such as an institution name and masked account number. When they disconnect it, stop further reads under that permission. The next weekly summary should tell them which dates and accounts it still covers.
3. Apply a correction once, even after a retry
Keep the source’s record identifier, amount, currency and effective date together. Follow the provider’s rules for recognizing a revision. A financial data API integration has to distinguish two real purchases of the same amount from two deliveries of the same purchase.

How a $90 grocery purchase becomes $80
The simplest test is to interrupt the refresh after the corrected purchase is saved. Restart the app and deliver the correction again. Add up the week from the source statement, then compare it with the app. A $160 total for this purchase means the app counted the corrected amount twice.
The implementation depends on the provider. For example, Plaid’s Transactions Sync documentation describes retrieving added, modified and removed transactions from a saved position called a cursor. Save the next position only after the corresponding changes have been recorded successfully. Other providers may offer a different way to resume an interrupted update.
4. Show how fresh and complete the answer is
Suppose the card last synced on Friday and today is Sunday. The app can still show “$80 through Friday.” If the customer asks for the whole week, the agent should explain that weekend activity is missing. Showing $0 for Saturday and Sunday would turn a gap in coverage into a claim about spending.
For a release check, compare the purchase on the statement with the amount in the app and the answer from the agent. If the app shows $80 but the agent still says $90, refresh the saved summary or label its age before showing it again.
Where Bluwhale fits in the integration
Bluwhale’s financial data API overview describes how apps can use insights associated with a permitted identity. In this example, the card provider supplies the purchase and its correction. The question for Bluwhale is which context about the person asking is available to the agent, and whether that context would change its answer.
Take one customer question to Bluwhale for Developers. Confirm which inputs are available for your integration, what permission they require and what the returned insight contains. Then try the same question with one source disconnected. Can the agent name the account and the last date it can verify?

