Integrating with the Express dashboard

Express provides its own account management and reporting features for users, built into a dashboard hosted by Stripe.

When the user visits their Express dashboard, they can modify account information, view recent and upcoming payouts, and perform other relevant tasks. Instead of logging in to a dedicated Stripe account, users reach their dashboard through your platform.

You can use the Create Login Link API to generate a single-use URL that allows the user to access the dashboard:

curl"{{CONNECTED_STRIPE_ACCOUNT_ID}}"/login_links \ -u sk_test_4eC39HqLyjWDarjtT1zdp7dc: \ -X POST
const link = await stripe.accounts.createLoginLink('{{CONNECTED_STRIPE_ACCOUNT_ID}}');
params := &stripe.LoginLinkParams{ Account: stripe.String("{{CONNECTED_STRIPE_ACCOUNT_ID}}"), } link, err := loginlink.New(params)
var service = new LoginLinkService(); var link = service.Create("{{CONNECTED_STRIPE_ACCOUNT_ID}}");

When the request completes successfully, the response includes a generated dashboard URL:

{ "object": "login_link", "created": 1495580507, "url": "" }

The URL expires a brief period after you retrieve it from the login_link API, so you should use it promptly. Typically, you should use the API to generate the link on demand when the user intends to visit their dashboard.

In the user interface for your website or mobile application, you could have a button that offers to take the user to their dashboard. When the user clicks the button, your application fetches the URL from the login_link API and then redirects the user to the address.

Stripe uses two-factor authentication to prevent unauthorized changes to the user’s payout information. Stripe typically requires one factor of authentication, such as a valid login link, a previous session, or phone authentication, when a user logs in to view their payouts and change basic information. When a user changes their payout information, however, Stripe sends them either an SMS message or an e-mail with a code that they must provide for verification.

Was this page helpful?
Questions? Contact us.
Developer tutorials on YouTube.