Skip to main content

Function: cancelPendingPayItem()

cancelPendingPayItem(itemId): Promise<CancelPendingState>

Defined in: src/server/actions/pendingPayItems.ts:17

Owner-only: cancel a still-unapplied queued catch-up pay item before it's drained into a pay run. An item already applied to a payment can't be cancelled here (remove it as a payment adjustment).

Parameters

itemId

string

Returns

Promise<CancelPendingState>