Skip to main content

TypeAlias.WalletPolicy

type WalletPolicy = {
createdAt: string;
currency: string;
domainAllowList?: string[] | null;
emergencyStop: boolean;
id: string;
maxAmountPerDayRef?: string | null;
maxAmountPerMonthRef?: string | null;
maxAmountPerPaymentRef?: string | null;
maxAmountPerWeekRef?: string | null;
recipientAllowList?: string[] | null;
requireHumanAboveRef?: string | null;
timezone?: string | null;
updatedAt: string;
volatilityMarginBps?: number | null;
};

Spending policy attached to an agent wallet: reference currency, per-transaction/daily/weekly/monthly caps (decimal strings in centi-units of the currency), human-approval threshold, and recipient/domain allow-lists.

Type Declaration

NameType
createdAtstring
currencystring
domainAllowList?string[]
emergencyStopboolean
idstring
maxAmountPerDayRef?string
maxAmountPerMonthRef?string
maxAmountPerPaymentRef?string
maxAmountPerWeekRef?string
recipientAllowList?string[]
requireHumanAboveRef?string
timezone?string
updatedAtstring
volatilityMarginBps?number