import type * as Whop from "../index.mjs"; /** * A card transaction record. */ export interface CardTransactionLegacy { /** How the card was presented or authenticated for the purchase. */ authorization_method: string | null; /** Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`) input value will be accepted as an ID. */ card_id: string; /** The cashback reward amount earned on this transaction, in USD. */ cashback_usd_amount: number | null; /** The datetime the card transaction was created. */ created_at: string; /** The ISO 4217 currency code for the transaction amount. */ currency: string | null; /** The issuer-provided reason the transaction was declined. */ declined_reason: string | null; /** The unique identifier for the card transaction. */ id: string; /** Whether the transaction was made with a merchant outside the card's home country. */ international: boolean; /** The transaction amount in the merchant's local currency before conversion. */ local_amount: number | null; /** A user-provided note attached to the transaction. */ memo: string | null; /** The enriched or raw category label for the merchant. */ merchant_category: string | null; /** The four-digit ISO 18245 merchant category code (MCC). */ merchant_category_code: string | null; /** A URL to the enriched merchant logo image. */ merchant_icon_url: string | null; /** The enriched or raw name of the merchant where the purchase was made. */ merchant_name: string | null; /** When the transaction was settled by the card network. */ posted_at: string | null; /** The current lifecycle status of the transaction. */ status: Whop.CardIssuingTransactionStatus; /** The type of transaction. */ transaction_type: string; /** The transaction amount in USD. */ usd_amount: number | null; }