/** * Currency amount represented as an integer in minor units. * e.g. 100 = $1.00 USD, 100 = ₦100 NGN (kobo: 10000) */ export type MinorUnit = number; /** * ISO 4217 currency code. e.g. "USD", "NGN", "GHS" */ export type CurrencyCode = string; /** * ULID string identifier. */ export type ID = string; /** * Rounding mode used for FX and fee calculations. */ export type RoundingMode = "HALF_UP" | "HALF_DOWN" | "FLOOR" | "CEILING"; /** * Wallet owner reference — any entity that can own a wallet. * ownerType='wallet' means this is a sub-wallet of ownerId. * ownerType='system' is reserved for internal/float wallets. */ export interface WalletOwner { ownerId: ID; ownerType: string; } /** * Supported ledger entry types (debit or credit). */ export type EntryType = "credit" | "debit"; /** * Lifecycle status of a single ledger entry. */ export type EntryStatus = "pending" | "completed" | "failed" | "reversed"; /** * High-level classification of the operation that generated entries. */ export type OperationType = "deposit" | "withdrawal" | "transfer" | "conversion" | "payment" | "fee" | "reversal" | "adjustment"; /** * Lifecycle status of an operation (the aggregate of one or more entries). */ export type OperationStatus = "pending" | "processing" | "completed" | "failed" | "cancelled" | "reversed"; /** * Finality mode controlling when balance is considered irrevocable. */ export type FinalityMode = "soft" | "hard"; //# sourceMappingURL=types.d.ts.map