Skip to content

CreateAccountLink

Source: src/Stripe/CreateAccountLink.ts

Create a Stripe Account Link over HTTP. Account-scoped — binds the API key onto the host, not a specific connected account.

Account Links are the URLs a Connect platform hands a merchant to complete hosted onboarding for an Express or Standard account.

const createLink = yield* Stripe.CreateAccountLink();
const link = yield* createLink({
account: "acct_…",
type: "account_onboarding",
return_url: "https://example.com/onboarded",
});
// link.url is the hosted onboarding page