import type * as Whop from "../../../../index.js"; /** * @example * { * first: 42, * last: 42, * member_id: "mber_xxxxxxxxxxxxx", * created_before: "2023-12-01T05:00:00Z", * created_after: "2023-12-01T05:00:00Z", * account_id: "biz_xxxxxxxxxxxxxx" * } */ export interface ListPaymentMethodsRequest { /** Returns the elements in the list that come after the specified cursor. */ after?: string; /** Returns the elements in the list that come before the specified cursor. */ before?: string; /** Returns the first _n_ elements from the list. */ first?: number; /** Returns the last _n_ elements from the list. */ last?: number; /** The unique identifier of the member to list payment methods for. Omit this and account_id to list your own saved payment methods. */ member_id?: string; direction?: Whop.Direction; /** Only return payment methods created before this timestamp. */ created_before?: string; /** Only return payment methods created after this timestamp. */ created_after?: string; future_usage?: Whop.FutureUsageTypes; /** Only return payment methods of these types. Pass the eligible `type` values from the payment method types catalogue so the list holds nothing the purchase cannot take. An empty list returns no payment methods. */ payment_method_types?: Whop.PaymentMethodTypes | Whop.PaymentMethodTypes[]; /** Only return cards on these networks, such as the networks the seller accepts. Payment methods that are not cards are unaffected. */ card_brands?: Whop.CardBrands | Whop.CardBrands[]; /** Only return cards funded this way. A card whose funding could not be determined is excluded, and payment methods that are not cards are unaffected. */ card_funding_types?: Whop.CardFundingTypes | Whop.CardFundingTypes[]; /** Filter cards by whether they carry the payer identity document their payment provider requires. Payment methods that are not cards are unaffected. */ has_payer_document?: boolean; /** Filter by expiry. Only a card can expire, so `false` keeps every payment method that is not past its expiration month and `true` returns expired cards alone. */ expired?: boolean; /** Filter by whether the stored credential has permanently stopped charging, such as a vault entry its provider closed. */ broken?: boolean; /** The unique identifier of the company. Provide either this or member_id, not both. Omit both to address your own saved payment methods. */ account_id?: string; }