Skip to main content

TypeAlias.InvestTransaction

type InvestTransaction = {
buyer?: string | null;
createdAt: string;
currency: "EUR" | "USD";
fund: string;
id: string;
price: number;
seller?: string | null;
shares: number;
status: "PENDING" | "VALIDATED" | "REJECTED";
type: "INITIAL_DISTRIBUTION" | "BUY_BACK" | "SECONDARY_MARKET";
updatedAt: string;
};

Transaction record for an investment fund. Represents a share movement: initial distribution, buy-back, or secondary market transfer. Either seller or buyer may be null depending on type.

Type Declaration

NameType
buyer?string
createdAtstring
currency"EUR"
fundstring
idstring
pricenumber
seller?string
sharesnumber
status"PENDING"
type"INITIAL_DISTRIBUTION"
updatedAtstring