Skip to main content

Type Alias: RefundCreditLotResult

RefundCreditLotResult = { refundableMicro: number; status: "reserved" | "existing"; } | { reason: "not_found" | "not_paid" | "not_active" | "insufficient_refundable" | "conflict"; refundableMicro: number; status: "refused"; }

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:486

A refund reservation's answer; refundableMicro is the lot's free paid principal at that moment. conflict: the refund id is reserved for another scope, lot or amount, and nothing is reserved for this request.