Skip to main content
GET
cURL

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 not listed as exempt in this document's top-level description. See /api-reference/authentication.

Path Parameters

businessTransactionId
string
required

The transaction's id. In the sandbox, the value shown is a seeded transaction kept for these docs. To try your own, run the playground and use the businessTransactionId it prints.

Response

The latest Receipt.

Response returned by POST /receipt and GET /receipt/latest/{businessTransactionId}. A bare Receipt, no wrapper.

receiptId
string
required

Unique Receipt identifier.

businessTransactionId
string
required

Business Transaction represented by this Receipt.

trustRecordHash
string
required

Canonical hash of the Execution Trust Record, used for independent verification.

receiptHash
string
required

Hash of this Receipt.

signature
string
required

Base64-encoded digital signature over the Receipt.

algorithm
string
required

Signing algorithm.

Example:

"ed25519"

issuedAt
string<date-time>
required

UTC timestamp when the Receipt was generated.

executionId
string

Execution represented by this Receipt. Absent when the Receipt represents the latest transaction state; every Receipt currently produced by ReceiptService omits this field.