# Hosted relink

Enable Stripe to repair broken connections to bank accounts linked with Financial Connections.

Your customer’s previously linked [Financial Connections account](https://docs.stripe.com/api/financial_connections/accounts.md) can become `inactive` because of technical issues with their bank or when they revoke access to share data with you or Stripe. When an account is `inactive`, you can’t receive new data from the financial institution and in some cases, payments might fail.

Hosted relink is a feature you can use in the [Dashboard](https://dashboard.stripe.com/financial-connections/accounts) to request customers to relink their accounts.

Hosted relink in the Dashboard is in public preview. Creating hosted relink sessions with the API is in private preview. [Email us](mailto:financial-connections-beta+hosted-relink-api@stripe.com) to request access.

If you use hosted relink, Stripe contacts your customers on your behalf, and prompts them to repair their connection. This feature repairs the data connection or [tokenized account number (TAN)](https://docs.stripe.com/financial-connections/tokenized-account-numbers.md) of previously linked Financial Connections accounts with a [streamlined authentication flow](https://docs.stripe.com/financial-connections/fundamentals.md#authentication-flow).

Stripe doesn’t charge an additional fee to repair a previously linked Financial Connections account.
Log in to view the email preview.
## Before you begin

Only accounts that meet the following criteria are eligible for hosted relink:

- Accounts with a status of `inactive`, with an [expected_deactivation_date](https://docs.stripe.com/financial-connections/inactive-accounts.md#upcoming-deactivations) within the next 30 days, or with TANs expected to expire within the next 30 days.
- Accounts that haven’t received a Stripe-hosted relink request in the past 48 hours, or where the previous relink request is complete.
- Accounts associated with a [Customer](https://docs.stripe.com/api/customers.md) object, a customer-configured [Account](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-configuration-customer) object, or for Connect platforms, a connected [Account](https://docs.stripe.com/api/accounts.md) object with a provided email address. To add an email address for a customer in the [Dashboard](https://dashboard.stripe.com/financial-connections/accounts), select the account ID to view account holder details. If the account holder is a customer, select the customer ID to add or update the customer’s email address.

> #### Use the Accounts v2 API to represent customers
> 
> The Accounts v2 API is generally available for Connect users, and in public preview for other Stripe users. If you’re part of the Accounts v2 preview, you need to specify a [preview version](https://docs.stripe.com/api-v2-overview.md#sdk-and-api-versioning) in your code.
> 
> To join the Accounts v2 preview, go to [Account previews and features](https://dashboard.stripe.com/settings/previews) in your Dashboard and enable **Reusable payment methods for Global Payouts**.
> 
> For most use cases, we recommend [modeling your customers as customer-configured Account objects](https://docs.stripe.com/accounts-v2/use-accounts-as-customers.md) instead of using [Customer](https://docs.stripe.com/api/customers.md) objects.

## Send relink emails to your customers

1. In the Dashboard, go to **Financial Connections** > [Accounts](https://dashboard.stripe.com/financial-connections/accounts).
2. Select the Financial Connections accounts you want to relink. If you only want to relink a single account, open the overflow (⋯) menu next to the account name.
3. Select **Request relink**.
4. Confirm the request. Stripe sends a relink email to the customer associated with each selected account.

Stripe sends the customer a secure email with a link to reconnect their bank account. You can view the account’s relink status on its details page.

## Testing

Follow the [testing guide](https://docs.stripe.com/financial-connections/testing.md) to learn how to connect a test bank account through Financial Connections. To test the hosted relink feature, search for the `Tokenized Account Numbers` institution, `Reauthentication Required Immediately` institution, or `Reauthentication Required Eventually` institution in the authentication flow, and connect any of the provided bank accounts. These accounts are all eligible for hosted relink when attached to a customer with a provided email address.

If you’re testing in a [sandbox](https://docs.stripe.com/sandboxes.md), the customer’s email address must match one of the confirmed user email addresses on your Stripe account.

> You can also use an API endpoint to create relink sessions. This method helps you process high volumes of accounts, and allows you to customize emails or notifications with a link you receive to the hosted page. [Email us](mailto:financial-connections-beta+hosted-relink-api@stripe.com) to request access to this private preview feature.
