# Connect (or resume connecting) the workspace's Stripe account

Creates the workspace's connected account on first use and returns a Stripe-hosted onboarding link. After disconnectPaymentsAccount it creates a new account (never the one that was disconnected). Workspace owners and admins only. Stripe returns the user to the settings page afterwards; the account is then read back with getPaymentsAccount?refresh=1.

Canonical: https://easerix.com/docs/developers/api/sign/payments/startPaymentsOnboarding

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="sign" operations={[{"path":"/v1/payments/account/onboarding","method":"post"}]} />
    </>
  );
}
