Skip to main content
Docs

The release gate

Before any money is released, the release is evaluated against an ordered list of conditions. Each condition ends as pass, fail, pending, warn, not_applicable or pass_overridden, with a reason code and a plain-language message. The whole result is stored as an immutable snapshot with a hash and written to the record.

GET /releases/:id returns the current gate; GET /releases/:id/gate-evaluations returns every evaluation.

Three kinds of condition#

KindWho sets itCan it be switched off or overridden?
systemAlways onNever.
termThe terms both parties acceptedNot by the tenant. Changing them is an amendment both parties accept.
controlThe tenant's own payment-safety controlsSwitching one off needs a reason. Some can be overridden for one release, with a reason and a second member.

Conditions#

ConditionKindWhat it checksOverridable
mandate_state_oksystemThe mandate is active and nothing pauses it: a Holdyn intervention, a suspended account, a default hold, a platform brake or a bypass review.No
connection_healthysystemYour Stripe connection is healthy and is the account named in the terms.No
payee_readysystemThe payee's connected account can receive transfers and matches the destination in the accepted terms.No
no_open_disputesystemNo dispute or processor dispute is open that holds this release.No
amount_within_limitssystemThe amount is not more than the stage's remainder or the mandate.No
funds_settledsystemThe money for this release has cleared and is available.No
payer_approvaltermThe payer approved, or the accepted rule approved after the silent days, or an agreed outcome or recorded outside outcome applies.No
evidence_requiredtermThe required evidence was submitted and accepted.No
not_before_datetermA date in the terms has passed.No
cap_before_completiontermReleases before the completion stage stay within the agreed percentage, counting the deposit if the terms say so.Per the terms
compliancetermCompliance packs in block mode report no violation, or a documented exemption applies.No (an exemption is the path)
counterparty_cumulative_capcontrolThe total released to this payee in a day, week or month stays within your limit.Yes
payee_bank_coolingcontrolThe payee's bank account has not changed in the last number of days.Yes
new_payee_holdcontrolA new payee has waited the number of days you set.Yes
duplicate_checkcontrolNo likely duplicate: a shared invoice number, document reference or evidence hash, or optionally the same amount.Yes
operator_approvalcontrolA member approved, when your controls or manual mode ask for it.No
dual_approval_abovecontrolA second member approved a release above your threshold.No

A condition whose check fails to run reports pending with the reason code evaluation_error; it never silently passes.

What the parties see#

A party and a member see the same reason for a waiting release, in two voices. A member sees "Provider bank details changed on 6 Nov; this payment is held until 9 Nov." The party sees "A routine payment-safety check is in progress (until 9 Nov)." Thresholds are not shown to the parties unless the tenant chooses to.

What approving means#

Members confirm checks; they never judge the work. A second approval confirms the amount, that the payee's bank account has not changed and for how long, duplicates and limits. The payer approves the work. The exception is manual mode, where the accepted terms name the tenant's review as the approval.

The approver cannot be someone who recorded the outside outcome behind the release, reviewed or uploaded its evidence, or already approved it.

Reading a gate#

json
{
  "id": "payee_bank_cooling",
  "kind": "control",
  "result": "pending",
  "reason_code": "bank_change_cooling",
  "message": "Provider bank details changed on 6 Nov; this payment is held until 9 Nov.",
  "party_message": "A routine payment-safety check is in progress (until 9 Nov).",
  "params": { "days": 3 },
  "overridable": true,
  "override": null,
  "recheck_at": "2026-11-09T09:00:00.000Z"
}

Show message to members and party_message to parties. Switch on id and reason_code, not on the text.

See Approvals and overrides for what happens when a condition blocks a release.

The release gate · Holdyn Business docs