import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CardBrand } from "./cardbrand.js"; import { CardExpiration, CardExpiration$Outbound } from "./cardexpiration.js"; import { CardType } from "./cardtype.js"; import { EntryMode } from "./entrymode.js"; /** * Describes payment card details captured with tap or in-person payment. */ export type TerminalCard = { /** * How the card information was entered into the point of sale terminal. */ entryMode?: EntryMode | undefined; /** * The card brand. */ brand?: CardBrand | undefined; bin?: string | undefined; /** * The type of the card. */ cardType?: CardType | undefined; /** * The expiration date of the card or token. */ expiration?: CardExpiration | undefined; /** * Uniquely identifies a linked payment card or token. * * @remarks * For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device. * This field can be used to identify specific payment methods across multiple accounts on your platform. */ fingerprint?: string | undefined; /** * The name of the cardholder as it appears on the card. */ holderName?: string | undefined; /** * Financial institution that issued the card. */ issuer?: string | undefined; /** * Country where the card was issued. */ issuerCountry?: string | undefined; /** * Last four digits of the card number */ lastFourCardNumber?: string | undefined; /** * Identifier for the point of sale terminal application. */ applicationID?: string | undefined; /** * Name label for the point of sale terminal application. */ applicationName?: string | undefined; }; /** @internal */ export declare const TerminalCard$inboundSchema: z.ZodType; /** @internal */ export type TerminalCard$Outbound = { entryMode?: string | undefined; brand?: string | undefined; bin?: string | undefined; cardType?: string | undefined; expiration?: CardExpiration$Outbound | undefined; fingerprint?: string | undefined; holderName?: string | undefined; issuer?: string | undefined; issuerCountry?: string | undefined; lastFourCardNumber?: string | undefined; applicationID?: string | undefined; applicationName?: string | undefined; }; /** @internal */ export declare const TerminalCard$outboundSchema: z.ZodType; export declare function terminalCardToJSON(terminalCard: TerminalCard): string; export declare function terminalCardFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=terminalcard.d.ts.map