post
https://api.sb.spidrsrv.com/v1/transaction/releaseHold
Use the /releaseHold endpoint to release a hold placed with Create Hold, which returns the held amount to the account's available balance. To keep the hold but change when it ends, pass a new expiresAt instead.
- You can only release holds created through the Spidr API. Card authorization holds (pending card purchases) can't be released here.
- You can release a hold even after the account is closed.
- If the hold has already expired, the request still succeeds and returns
released: true. - Include
accountIdif you never got a result from Create Hold.
We send a transaction.releaseHold webhook when the release or new end time takes effect. A release that ends the hold is also followed by transaction.holdExpired.
Errors you may need to handle:
HOLD_BUSY(409): another change to this hold is still in progress. Check List Holds, then try again.HOLD_OUTCOME_UNKNOWN: we couldn't confirm the result yet. Check List Holds, then retry Release Hold if the hold is still active. Never send Create Hold again to fix this.
Hold requests don't need a ZTM session or approval.
