import type * as Whop from "../../../../index.js"; /** * @example * { * account_id: "biz_xxxxxxxxxxxxxx", * refresh_url: "refresh_url", * return_url: "return_url", * use_case: "account_onboarding" * } */ export interface CreateAccountLinksRequest { /** The unique identifier of the company to generate the link for, starting with 'biz_'. Must be a sub-merchant of the API key's company. */ account_id: string; /** The URL to redirect the user to if the session expires and needs to be re-authenticated, such as 'https://example.com/refresh'. */ refresh_url: string; /** The URL to redirect the user to when they want to return to your site, such as 'https://example.com/return'. */ return_url: string; /** The purpose of the account link, such as hosted payouts portal or hosted KYC onboarding. */ use_case: Whop.AccountLinkUseCases; }