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

    Interface ConnectedAccountGrant

    Result of exchanging an authorization code.

    Stripe is deprecating Connect OAuth access and refresh tokens, so they are deliberately not returned: store stripeUserId and act on the account with stripe.forAccount(stripeUserId), which sends the Stripe-Account header.

    interface ConnectedAccountGrant {
        livemode?: boolean;
        scope?: string;
        stripeUserId: string;
    }
    Index
    livemode?: boolean

    Whether the grant is for live mode

    scope?: string

    Scope that was granted

    stripeUserId: string

    The connected account's ID (acct_…)