ReleaseHold
Return a hold without billing it: the work failed, was cancelled, or never ran.
Source:
packages/paykit/src/Billing/ReleaseHold.binding.tsKind: Binding · Product: Usage · Provides:Paykit.ReleaseHold
Return a hold without billing it: the work failed, was cancelled, or never
ran. Releasing after expiresAt still returns the units, because a late
release is a cleanup and not a charge.
Returning capacity
const releaseHold = yield* Paykit.ReleaseHold(account);
yield* releaseHold({ holdId, dedupeKey: `${turnId}:release` });