import type * as Whop from "../index.mjs"; export interface CheckoutConfiguration { /** Account ID, prefixed `biz_`. */ account_id: string; /** Affiliate code applied at checkout, or `null` when none is set. */ affiliate_code: string | null; /** When the checkout configuration was created, as an ISO 8601 timestamp. */ created_at: string; /** Currency used for setup-mode payment method availability; defaults to `usd` when omitted. */ currency: CheckoutConfiguration.Currency | null; /** The configuration governing a checkout mounted from this configuration, resolved through every layer (its own overrides, the variant's, and the account's) — the shape a session's `payment_method_configuration` carries. Apply it over the payment method types catalogue for the offerable set. `null` means platform defaults; `payment_method_configuration` stays this configuration's own editable override. */ effective_payment_method_configuration: Whop.CheckoutSessionPaymentMethodConfiguration | null; id: string; /** Custom key-value metadata copied to payments and memberships. `null` without the `checkout_configuration:basic:read` scope. */ metadata: Record | null; /** Controls whether checkout charges the buyer immediately or saves payment details for later. */ mode: CheckoutConfiguration.Mode; /** Payment method overrides for this checkout. `null` when it uses the variant or platform defaults. */ payment_method_configuration: Record | null; /** Checkout URL you can send to customers. */ purchase_url: string | null; /** URL customers are sent to after checkout, or `null` when no redirect is configured. */ redirect_url: string | null; /** 3D Secure behavior for supported on-session card payments. `mandate_challenge` requires a 3DS challenge before payment processing; `mandate_if_required` mandates a challenge only when the payment processor requires it; `frictionless_if_required` uses the regular frictionless 3DS flow. Payments of $1,000 or more use `mandate_if_required` unless `mandate_challenge` is selected. Risk and authentication recovery requirements can override the preference. Applies in setup mode; `null` uses frictionless 3DS. Payment mode uses the variant policy. */ three_ds_level: CheckoutConfiguration.ThreeDsLevel | null; /** When the checkout configuration was last updated, as an ISO 8601 timestamp. */ updated_at: string; /** Variant used for payment checkout. `null` in setup mode. */ variant: Whop.CheckoutConfigurationVariant | null; } export declare namespace CheckoutConfiguration { /** Currency used for setup-mode payment method availability; defaults to `usd` when omitted. */ const Currency: { readonly Usd: "usd"; readonly Sgd: "sgd"; readonly Inr: "inr"; readonly Aud: "aud"; readonly Brl: "brl"; readonly Cad: "cad"; readonly Dkk: "dkk"; readonly Eur: "eur"; readonly Nok: "nok"; readonly Gbp: "gbp"; readonly Sek: "sek"; readonly Chf: "chf"; readonly Hkd: "hkd"; readonly Huf: "huf"; readonly Jpy: "jpy"; readonly Mxn: "mxn"; readonly Myr: "myr"; readonly Pln: "pln"; readonly Czk: "czk"; readonly Nzd: "nzd"; readonly Aed: "aed"; readonly Eth: "eth"; readonly Ape: "ape"; readonly Cop: "cop"; readonly Ron: "ron"; readonly Thb: "thb"; readonly Bgn: "bgn"; readonly Idr: "idr"; readonly Dop: "dop"; readonly Php: "php"; readonly Try: "try"; readonly Krw: "krw"; readonly Twd: "twd"; readonly Vnd: "vnd"; readonly Pkr: "pkr"; readonly Clp: "clp"; readonly Uyu: "uyu"; readonly Ars: "ars"; readonly Zar: "zar"; readonly Dzd: "dzd"; readonly Tnd: "tnd"; readonly Mad: "mad"; readonly Kes: "kes"; readonly Kwd: "kwd"; readonly Jod: "jod"; readonly All: "all"; readonly Xcd: "xcd"; readonly Amd: "amd"; readonly Bsd: "bsd"; readonly Bhd: "bhd"; readonly Bob: "bob"; readonly Bam: "bam"; readonly Khr: "khr"; readonly Crc: "crc"; readonly Xof: "xof"; readonly Egp: "egp"; readonly Etb: "etb"; readonly Gmd: "gmd"; readonly Ghs: "ghs"; readonly Gtq: "gtq"; readonly Gyd: "gyd"; readonly Ils: "ils"; readonly Jmd: "jmd"; readonly Mop: "mop"; readonly Mga: "mga"; readonly Mur: "mur"; readonly Mdl: "mdl"; readonly Mnt: "mnt"; readonly Nad: "nad"; readonly Ngn: "ngn"; readonly Mkd: "mkd"; readonly Omr: "omr"; readonly Pyg: "pyg"; readonly Pen: "pen"; readonly Qar: "qar"; readonly Rwf: "rwf"; readonly Sar: "sar"; readonly Rsd: "rsd"; readonly Lkr: "lkr"; readonly Tzs: "tzs"; readonly Ttd: "ttd"; readonly Uzs: "uzs"; readonly Rub: "rub"; readonly Btc: "btc"; readonly Cny: "cny"; readonly Usdt: "usdt"; readonly Kzt: "kzt"; readonly Awg: "awg"; readonly WhopUsd: "whop_usd"; readonly Xau: "xau"; }; type Currency = (typeof Currency)[keyof typeof Currency]; /** Controls whether checkout charges the buyer immediately or saves payment details for later. */ const Mode: { readonly Payment: "payment"; readonly Setup: "setup"; }; type Mode = (typeof Mode)[keyof typeof Mode]; /** 3D Secure behavior for supported on-session card payments. `mandate_challenge` requires a 3DS challenge before payment processing; `mandate_if_required` mandates a challenge only when the payment processor requires it; `frictionless_if_required` uses the regular frictionless 3DS flow. Payments of $1,000 or more use `mandate_if_required` unless `mandate_challenge` is selected. Risk and authentication recovery requirements can override the preference. Applies in setup mode; `null` uses frictionless 3DS. Payment mode uses the variant policy. */ const ThreeDsLevel: { readonly MandateChallenge: "mandate_challenge"; readonly MandateIfRequired: "mandate_if_required"; readonly FrictionlessIfRequired: "frictionless_if_required"; }; type ThreeDsLevel = (typeof ThreeDsLevel)[keyof typeof ThreeDsLevel]; }