/** * Partial update for CreditAccount auto-recharge fields. */ export type PatchedCreditAccountAutoRechargeUpdate = { /** * Set the balance threshold for auto-recharge (must be non-negative). */ auto_recharge_threshold_usd?: string; /** * Set the amount to recharge (min $0.50). */ auto_recharge_amount_usd?: string; /** * Enable or disable auto-recharge. */ auto_recharge_enabled?: boolean; /** * Cap on auto-recharge + manual top-up per 30-day period (user USD). 0 = unlimited. When > 0, backend sets recharge amount to 20% of limit (min $0.50). */ auto_recharge_spending_limit_usd?: string; /** * The platform key to update settings for (read-only in update context). */ readonly platform_key?: string; };