Refresh User
Updating a user's tradelines and data from their credit report
Refresh User Billing
Please be aware that the refresh user endpoint is a billable event for fetching a new credit report. Utilize your best judgement when calling this endpoint given that information.
Overview
To support the most up to date information for a user, we provide a function which will refresh the credit report data that is provided back with each /v1/users endpoint call. This endpoint is typically leveraged to evaluate if there are new tradelines for a user, or to fetch the latest credit report based information set, such as statementBalance, credit limit, credit score, etc.
Requesting a User Refresh
To request a user refresh, there are two endpoints you should be aware of. One to initiate the request, and one to determine when the updated data is available for retrieval from /v1/users endpoint.
- Refresh User - This endpoint will kick off the refresh functionality for the supplied userId to the API endpoint. Please be aware that for certain data providers, this initial call can be completed synchronously instead of needing to proceed to step 2. Ensure that your implementation allows for
COMPLETED
to be returned from this endpoint. - Check User Refresh Status - Once the refresh request has been kicked off, you will want to monitor the status of the refresh transaction using this polling endpoint. User refreshes are typically a quick process, so the general recommendation would be to start polling after 5 seconds and in 5-second intervals. The three statuses are
IN_PROGRESS
,FAILED
,COMPLETED
- Retrieve User - Following a
COMPLETED
status for an individual user, you will call the retrieve user endpoint and any data that was available to be updated will be updated at that point. Be aware that creditors typically only report once per mont to the credit bureaus.
Recommended Refresh Cadence
As a general rule, we recommend refreshing the user once per month for use cases with an ongoing need for up-to-date user liabilities. As noted, the creditors only report to the bureaus once per month and at different intervals.
If your use case has a need for ad-hoc refreshes intra-month, this can be supported but please reach out to your Spinwheel contact to review best practices before you proceed with this.
Updated 4 months ago