/** * @example * {} */ export interface CreateAccountsRequest { /** A saved partner referral link code for this new business account. An existing primary user referral takes priority. Used with user tokens creating top-level accounts. */ affiliate_code?: string | null; /** The blueprint App ID, prefixed `app_`. Creates a hosted website for the account and queues its deployment asynchronously; the Account response does not report deployment completion. */ blueprint_id?: string | null; /** The ISO 3166-1 alpha-2 country code where the account's business is located (e.g. `US`). Defaults to the parent account's country for connected accounts. */ country?: string; /** Whether Whop assembles and files dispute evidence for this account. Enabling it opts into the success fee charged on disputes it wins. Requires payment:dispute. Omit to preserve the existing setting or creation default. */ dispute_fighter_enabled?: boolean; /** The email address of the account owner. Required when creating a connected account. */ email?: string; /** Arbitrary key/value metadata to store on the account. */ metadata?: Record; /** Whether payment orchestration is enabled for this account. Requires payout:account:update. Omit to preserve the existing setting or creation default. */ orchestration_enabled?: boolean; /** Whether Whop sends transactional emails to customers on behalf of the connected account. */ send_customer_emails?: boolean; /** The display name of the account. Defaults to `metadata.external_id` or the owner's email when omitted. */ title?: string; /** The account's business website, as an `http` or `https` URL of at most 255 characters. Also added to the account's `social_links` as a `website` entry. */ website?: string | null; }