Skip to main content
POST
Reconcile one escrow with the chain

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Hevn-Account
string | null

The client account to act for, as a cl_… id. Omit it to act as yourself.

Example:

"cl_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"

Path Parameters

escrowId
string
required
Pattern: ^(?:esc_)?[A-Za-z0-9._:\-]{1,216}$

Response

Successful Response

id
string
required

Stable public identifier for this escrow.

status
enum<string>
required

Current public lifecycle status of the escrow.

Available options:
draft,
authorized,
charged,
partiallyCaptured,
captured,
voided,
reclaimed,
partiallyRefunded,
refunded
availableActions
enum<string>[]
required

Actions permitted by current state and deadlines.

Available options:
approve,
authorize,
charge,
capture,
reject,
void,
reclaim,
refund
sender
EscrowPartyView · object
required

Account sending or authorizing escrow funds.

receiver
EscrowPartyView · object
required

Account entitled to captured escrow funds.

onchainEscrowUrl
string
required

Block explorer URL for the shared escrow contract.

token
string
required

Digital asset held in escrow.

maxAmount
string
required

Maximum token amount that may be authorized.

Example:

"500.00"

authorizedAmount
string
required

Token amount currently authorized for capture.

Example:

"500.00"

capturableAmount
string
required

Token amount that may currently be captured.

Example:

"500.00"

refundableAmount
string
required

Token amount that may currently be refunded.

Example:

"500.00"

windows
EscrowWindowsView · object
required

Approval, holding and refund deadlines.

createdAt
string<date-time>
required

UTC timestamp when the escrow was created.

updatedAt
string<date-time>
required

UTC timestamp when the escrow was last updated.

description
string | null

Off-chain escrow description.

completionConditions
string | null

Off-chain conditions reviewed before capture.

action
EscrowActionView · object | null

Latest prepared or submitted escrow action.

consistent
boolean | null

Whether persisted state matches the latest chain state.