import type * as Whop from "../index.js"; /** * A configured payout destination where a user receives earned funds, such as a bank account or digital wallet. */ export interface PayoutMethod { /** A masked identifier for the payout destination, such as the last four digits of a bank account or an email address. Null if no reference is available. */ account_reference: string | null; /** The company associated with this payout destination. Null if not linked to a specific company. */ company: PayoutMethod.Company | null; /** The datetime the payout token was created. */ created_at: string; /** The three-letter ISO currency code that payouts are delivered in for this destination. */ currency: string; /** The payout destination configuration linked to this token. Null if not yet configured. */ destination: PayoutMethod.Destination | null; /** The unique identifier for the payout token. */ id: string; /** The name of the bank or financial institution receiving payouts. Null if not applicable or not provided. */ institution_name: string | null; /** Whether this is the default payout destination for the associated payout account. */ is_default: boolean; /** A user-defined label to help identify this payout destination. Not sent to the provider. Null if no nickname has been set. */ nickname: string | null; } export declare namespace PayoutMethod { /** * The company associated with this payout destination. Null if not linked to a specific company. */ interface Company { /** The unique identifier for the company. */ id: string; } /** * The payout destination configuration linked to this token. Null if not yet configured. */ interface Destination { /** The category of the payout destination */ category: Whop.PayoutDestinationCategory; /** The country code of the payout destination */ country_code: string; /** The name of the payer associated with the payout destination */ name: string; } }