capabilities.work

Trigger A Balance Refresh And Poll It

A 4-step recipe with Tink. We can help you get access.

Recipe · 4 steps

Trigger A Balance Refresh And Poll It

with Tink

Trigger a balance refresh, poll to completion, then read the refreshed balances.

  1. Trigger an on-demand balance refresh for the supplied credentials object.
  2. Retrieve the balance refresh status. While the refresh is QUEUED or IN_PROGRESS, loop back and check again; on FINISHED proceed to read balances; on FAILED end the flow.
  3. List the accounts to resolve an account id for the refreshed balances.
  4. Read the freshly refreshed balances for the first account.
What you'll need to have ready
  • accessToken: A user access token authorized for balance refresh and account reads.
  • credentialsId: The credentials object to refresh balances for.
For your developer

Arazzo workflow tink-com:balance-refresh-and-poll, 4 operations: createBalanceRefresh → getBalanceRefresh → listAccounts → getAccountBalances. Specs on APIs.io.