Skip to main content
POST
Submit the signature for a prepared escrow action

Authorizations

Authorization
string
header
required

Platform access token from POST /auth/token, carrying the platform audience and the developer_key_id of the registration that minted it. It acts as your own account; name a client you created with X-Hevn-Account: cl_…. Every request re-checks that the registration is still active and that the caller's source IP is inside its allowlist. A token is valid only against the server that issued it, so sandbox tokens are refused in production and production tokens in the sandbox.

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"

x-api-key
string | null

Path Parameters

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

Body

application/json
signature
string
required

Base64 DER ECDSA P-256/SHA-256 signature over the decoded approval payload.

Required string length: 1 - 2048
publicKey
string | null

Registered P-256 public key; omit when the signature uniquely identifies the key.

Required string length: 1 - 512

Response

Successful Response

deal
EscrowView · object
required

Latest escrow state after processing the action.

action
EscrowActionView · object
required

Prepared or submitted action.

events
EscrowEventView · object[]

Observed on-chain events for this action.

pollUrl
string | null

Relative API URL to poll while processing continues.