Skip to main content
POST
Replay an Execution Trust Record

Authorizations

Authorization
string
header
required

Caller API key issued by scripts/generate-api-key.ts. Sent as Authorization: Bearer . Verified against a stored SHA-256 hash in constant time by packages/api/src/auth/StaticKeyAuthenticator.ts. Required on every route except GET /health. See /api-reference/authentication.

Body

application/json

Request payload for POST /replay. businessTransactionId is required (rejected with a 400 if missing or empty), unlike POST /verify and POST /receipt, this route does not additionally validate UUID format.

businessTransactionId
string
required

Business Transaction to replay.

Response

Replay completed.

Response returned by POST /replay. A deliberately small shape distinct from the Execution Trust Record it replays: it re-verifies the record's stored signature via VerificationCrypto and reports only whether that succeeded, alongside the hash it checked.

businessTransactionId
string
required

Business Transaction that was replayed.

trustRecordHash
string
required

Hash of the Execution Trust Record that was replayed.

verified
boolean
required

Whether the Execution Trust Record's stored signature verified successfully.