import type * as Whop from "../index.mjs"; export interface ConfirmationToken { /** The collected billing address, including the name on the address. Null when not collected or without bearer authentication with payment:basic:read on the token’s account. */ billing_address: Whop.PaymentAddress | null; /** Billing preview supplied at collection: email, name, country and postal code. */ billing_details: Whop.PaymentBillingDetailsPreview | null; /** When the token was created, as an ISO 8601 timestamp. */ created_at: string; /** When the token expires, as an ISO 8601 timestamp. Tokens are single-use and short-lived. */ expires_at: string; id: string; /** Always `confirmation_token`. */ object: string; /** Display-only preview of the collected method — never the underlying token. */ payment_method_preview: Whop.PaymentMethodDisplay; /** Save-consent state the element displayed at collection: `off_session`, `on_session`, or `null`. Confirm may vault only if attested here. */ setup_future_usage: string | null; /** `pending` until it is used, then `consumed`; `expired` once its short lifetime elapses. Only a `pending` token can be charged. */ status: ConfirmationToken.Status; } export declare namespace ConfirmationToken { /** `pending` until it is used, then `consumed`; `expired` once its short lifetime elapses. Only a `pending` token can be charged. */ const Status: { readonly Pending: "pending"; readonly Consumed: "consumed"; readonly Expired: "expired"; }; type Status = (typeof Status)[keyof typeof Status]; }