Mayson Monorepo Documentation
    Preparing search index...
    Index

    Properties

    Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow.

    Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s.

    refresh_url: string

    The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new Account Link with the same parameters used to create the original Account Link, then redirect the user to the new Account Link URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user.

    return_url?: string

    The URL that the user will be redirected to upon completing the linked flow.