Skip to main content

TypeAlias.UpsertSharedBudget

type UpsertSharedBudget = {
maxAmountPerDayRef: string | null;
maxAmountPerMonthRef: string | null;
maxAmountPerWeekRef: string | null;
timezone?: string | null;
};

Payload of the shared budget PUT, which replaces the caps: null = no cap on that window, at least one cap is required. timezone omitted = keep the stored one, null = UTC.

Type Declaration​

NameType
maxAmountPerDayRefstring
maxAmountPerMonthRefstring
maxAmountPerWeekRefstring
timezone?string