import type * as Whop from "../index.mjs"; /** * An object representing an account used for payouts. */ export interface PayoutAccount { /** The physical address associated with this payout account */ address: PayoutAccount.Address | null; /** The company's legal name */ business_name: string | null; /** The business representative for this payout account */ business_representative: PayoutAccount.BusinessRepresentative | null; /** The email address of the representative */ email: string | null; /** The unique identifier for the payout account. */ id: string; /** The latest verification for the connected account. */ latest_verification: PayoutAccount.LatestVerification | null; /** The business representative's phone */ phone: string | null; /** The granular calculated status of the payout account reflecting its current KYC and payout readiness state. */ status: Whop.PayoutAccountCalculatedStatuses | null; } export declare namespace PayoutAccount { /** * The physical address associated with this payout account */ interface Address { /** The city of the address. */ city: string | null; /** The country of the address. */ country: string | null; /** The line 1 of the address. */ line1: string | null; /** The line 2 of the address. */ line2: string | null; /** The postal code of the address. */ postal_code: string | null; /** The state of the address. */ state: string | null; } /** * The business representative for this payout account */ interface BusinessRepresentative { /** The date of birth of the business representative in ISO 8601 format (YYYY-MM-DD). */ date_of_birth: string | null; /** The first name of the business representative. */ first_name: string | null; /** The last name of the business representative. */ last_name: string | null; /** The middle name of the business representative. */ middle_name: string | null; } /** * The latest verification for the connected account. */ interface LatestVerification { /** The numeric id of the verification record. */ id: string; /** The most recent error code returned during verification. Null if no error has occurred. */ last_error_code: Whop.VerificationErrorCodes | null; /** A human-readable explanation of the most recent verification error. Null if no error has occurred. */ last_error_reason: string | null; /** The current status of this verification session. */ status: Whop.VerificationStatuses; } }