provider POST /v1/link_account_sessions
@utdk/stripe /v1/link_account_sessions
Create a Session
<p>To launch the Financial Connections authorization flow, create a <code>Session</code>. The session’s <code>client_secret</code> can be used to launch the flow using Stripe.js.</p>

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postlinkaccountsessions
POST/v1/link_account_sessions
<p>To launch the Financial Connections authorization flow, create a <code>Session</code>. The session’s <code>client_secret</code> can be used to launch the flow using Stripe.js.</p>

Input

required

The account holder to link accounts for.

Specifies which fields in the response should be expanded.

Filters to restrict the kinds of accounts to collect.

required

List of data features that you would like to request access to. Possible values are `balances`, `transactions`, `ownership`, and `payment_method`.

List of data features that you would like to retrieve upon account creation.

For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postlinkaccountsessions()