Refresh user items for Financial-Insights bundle
POST /user/financial_data/refresh
/user/financial_data/refresh is an optional endpoint that initiates an on-demand extraction to fetch the newest transactions for a User using the Financial Insights bundle.
This bundle refreshes the Transactions, Investments, and Liabilities product data.
This endpoint is for clients who use the Transactions Insights bundle and want to proactively update all linked Items under a user.
The refresh may succeed or fail on a per-Item basis. Use the results array in the response to understand the outcome for each Item.
This endpoint is distinct from /transactions/refresh, which triggers a refresh for a single Item. Use /user/financial_data/refresh to target all Items for a user instead.
Request Body
Required
UserFinancialDataRefreshRequest defines the request schema for user/financial_data/refresh
Parameters
user_id
client_id
client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.
secret
secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.
Response
UserFinancialDataRefreshResponse defines the response schema for user/financial_data/refresh
Response Properties
request_id
user_id
results
item_id
product
error
error_code and categorized by error_type. Use these in preference to HTTP status codes to identify and handle specific errors. HTTP status codes are set and provide the broadest categorization of errors: 4xx codes are for developer- or user-related errors, and 5xx codes are for Plaid-related errors, and the status will be 2xx in non-error cases. An Item with a non-null error object will only be part of an API response when calling /item/get to view Item status. Otherwise, error fields will be null if no error has occurred; if an error has occurred, an error code will be returned instead.
error_type
error_code
error_code_reason
null will be returned otherwise. Safe for programmatic use.
Possible values:
OAUTH_INVALID_TOKEN: The user’s OAuth connection to this institution has been invalidated.
OAUTH_CONSENT_EXPIRED: The user’s access consent for this OAuth connection to this institution has expired.
OAUTH_USER_REVOKED: The user’s OAuth connection to this institution is invalid because the user revoked their connection.
error_message
display_message
null if the error is not related to user action.
This may change over time and is not safe for programmatic use.
request_id
causes
causes will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified.
causes will be provided for the error_type ASSET_REPORT_ERROR or CHECK_REPORT_ERROR. causes will also not be populated inside an error nested within a warning object.
status
documentation_url
suggested_action