import type * as Whop from "../../../../index.mjs"; /** * @example * { * transaction_ids: ["citx_xxxxxxxxxxxxxx"], * card_id: ["icrd_xxxxxxxxxxxxxx"], * cardholder_id: ["user_xxxxxxxxxxxxxx"] * } */ export interface ListCardTransactionsRequest { /** The account whose card transactions to list, prefixed `biz_`. Provide this or `user_id`. Defaults to the credential's account. */ account_id?: string; /** The user whose personal card transactions to list, prefixed `user_`. Provide this or `account_id`. Only that user can read them. */ user_id?: string; /** Return only these card transactions, each prefixed `citx_`. Repeat the parameter, or pass one comma-separated value. */ transaction_ids?: string | string[]; /** Return only transactions charged to these cards, each prefixed `icrd_`. */ card_id?: string | string[]; /** Return only transactions on cards assigned to these users, each prefixed `user_`. */ cardholder_id?: string | string[]; /** Return only transactions with this status. */ status?: Whop.ListCardTransactionsRequestStatus; /** Return only transactions authorized at or after this ISO 8601 timestamp. */ created_after?: string; /** Return only transactions authorized at or before this ISO 8601 timestamp. */ created_before?: string; /** The field to sort by. Defaults to `created_at`. */ order?: Whop.ListCardTransactionsRequestOrder; /** The sort direction. Defaults to `desc`. */ direction?: Whop.ListCardTransactionsRequestDirection; /** Number of results to return from the start of the range. */ first?: number; /** Return results after this cursor. Use `page_info.end_cursor` from the previous response to fetch the next page. */ after?: string; /** Number of results to return from the end of the range. */ last?: number; /** Return results before this cursor. Use `page_info.start_cursor` from the previous response to fetch the previous page. */ before?: string; }