Link stops updating when Fintoc can no longer log in to the bank with the Link’s stored credentials. This happens when the account holder changes their bank password or when the bank rejects the credentials. The Link also stops updating when Fintoc deletes credentials that a bank requires the account holder to renew periodically. To resume updates, reconnect the Link with the account holder’s current bank credentials.
Detect a Link that needs reconnecting
Use any of these signals:- Webhook event: Fintoc sends a
link.credentials_changedevent when the credentials of aLinkchange or Fintoc deletes them. Reconnect theLinkwhen you receive this event. Subscribe a Webhook Endpoint to receive it as soon as Fintoc sends it. - Link status: The Link object has
status: "login_required". - Refresh status: The
Linkhasrefresh_status: "interrupted". - Refresh Intent rejected: A Refresh Intent fails with the
rejected_refresh_intenterror code, or you receive anaccount.refresh_intent.rejectedevent. See Errors.
Periodic re-authentication
Some banks require you to reconnect aLink periodically, even if the account holder didn’t change their password. For example, Fintoc deletes the stored credentials for Banco Santander Link objects 6 months after the account holder last entered them. When Fintoc deletes the credentials, it sends a link.credentials_changed event and the Link stops updating until you reconnect it.
Reconnect from the dashboard
Use the dashboard to reconnect aLink for your own bank account.
- Go to the dashboard and switch to
livemode. - Create a
Linkwith the same country,Linktype, and holder type as the originalLink. Follow the steps in Create a banking Link from the dashboard. - In the Fintoc Widget, select the same bank and enter the account holder’s current credentials. Use the same bank username as the original
Link. - Copy the new
link_tokenfrom the modal and store it securely. - Replace the previous
link_tokenin your integration with the new one.
Reconnect from the Widget
Use the Widget to let your users reconnect their own bank accounts.- From your backend, create a Link Intent with the same
country,holder_type, andproductas the originalLink. - Open the Widget in your frontend with the Link Intent’s
widget_token, as described in the Integration Flow. - Ask your user to select the same bank and log in with the same bank username and their current password.
- In the
onSuccesscallback, send theexchangeTokento your backend. - From your backend, call the exchange endpoint to get the
Linkwith its newlink_token. - Replace the previous
link_tokenwith the new one wherever you store it.
What changes after reconnecting
When your user reconnects with the same bank username and holder, Fintoc updates the existingLink instead of creating a new one. This table shows what happens to each resource or field:
The previous
link_token stops working. Use the new link_token for all requests.
Test the integration
Run the Widget flow intest mode with your test API keys and the credentials in Test your integration. Confirm that your backend exchanges the exchangeToken and stores the new link_token.