@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Interface BuildAuthorizeUrlOptions

    Options for buildAuthorizeUrl

    interface BuildAuthorizeUrlOptions {
        alwaysPrompt?: boolean;
        clientId: string;
        email?: string;
        redirectUri?: string;
        scope?: ConnectOAuthScope;
        state: string;
        stripeLanding?: "login" | "register";
    }
    Index
    alwaysPrompt?: boolean

    Force the account picker even if the user is already connected

    clientId: string

    Your platform's Connect client ID (ca_…, Dashboard → Connect settings)

    email?: string

    Prefill the email field on the Stripe sign-up form

    redirectUri?: string

    Must match a redirect URI configured in your Connect settings, if set

    'read_write'
    
    state: string

    Unguessable CSRF token, random per attempt (e.g. crypto.randomUUID()), returned unchanged on the redirect. Store it server side, then in the callback, before calling OAuthService.exchangeCode: require a stored value, delete it so it works only once, and require the query state to be a string equal to it. A bare query.state !== stored check passes when both are undefined.

    stripeLanding?: "login" | "register"

    Which page the user lands on: sign in (login) or create an account (register)