Refresh a bank feed connection
Asks the provider to pull fresh transactions from the bank now instead of waiting for the schedule. Requires the reconciliations:write permission.
Authorization
AuthorizationstringrequiredPath parameters
connectionIdstringrequiredSnowflake id of the bank feed connection.
Response
200 · The refresh attempt. A repeat call within the same five-minute window returns the existing attempt unchanged.
bankFeedConnectionIdstringThe connection that was refreshed.
refreshAttemptIdstringSnowflake id of the attempt. Use it to correlate with the sync that follows.
statusstringRequested while it is in flight, then Succeeded or Failed. The value is written exactly as it appears here, in PascalCase — these particular status fields are plain strings rather than the camelCase enums used elsewhere in the API.
bankFeedSyncIdstringThe sync the attempt kicked off. Absent until one is started.
chargeReferencestringThe billing record for this refresh. Absent when it was not charged for.
chargeAmountnumberWhat the refresh cost, as a decimal. Absent when it was not charged for.
chargeCurrencystringThe currency of chargeAmount. Absent when it was not charged for.
failureCodestringAlways bank_feed_refresh_failed when the attempt failed, and absent otherwise.
failureMessagestringA fixed, safe message when the attempt failed, and absent otherwise.
401 · The access token is missing, expired, or not for this company.
403 · The caller does not hold the `reconciliations:write` permission.
404 · No bank feed connection with this id belongs to the caller's company.
422 · A refresh cannot be asked for right now. The problem detail carries `errorCode: "bank_feed_refresh_blocked"`, a `blockers` array with the same values as `refreshCapability.blockers`, and `nextRequestAllowed` when the block is the five-minute window.
Attempts are bucketed into five-minute windows. A second call inside the same window returns the attempt that already exists rather than starting another, so the call is safe to retry. A manual refresh can carry a charge; when it does, chargeAmount, chargeCurrency and chargeReference are filled in.
Read refreshCapability on Get a bank feed connection first — it tells you whether a refresh will be accepted and, if not, why.