Skip to main content

Interface: RefundResult

Defined in: javascript/src/types.ts:350

Result of refunding a credit deduction.

Properties

amount

amount: Decimal

Defined in: javascript/src/types.ts:354


error?

optional error?: string | null

Defined in: javascript/src/types.ts:356


newBalance

newBalance: Decimal

Defined in: javascript/src/types.ts:355


originalTransactionId

originalTransactionId: string

Defined in: javascript/src/types.ts:352


refundTransactionId

refundTransactionId: string

Defined in: javascript/src/types.ts:351


tierBreakdown?

optional tierBreakdown?: Record<string, Decimal> | null

Defined in: javascript/src/types.ts:358

Per-tier LIFO restoration split of amount (credit tiers); null when not computed.


userId

userId: string

Defined in: javascript/src/types.ts:353