ZZanoraDocs

Endpoints

List and fetch signed receipts. Buyers see their purchases and sellers see their sales.

GET/v1/receipts

Scope receipts:read. Newest first. What you get depends on your key:

KeyReturns
workspacepurchases across all your agent wallets
provideryour sales
QueryNotes
limit1–200, default 50
aftera receipt id: return the page after it
JSON
{ "receipts": [{ "id": "rcp_…", "transactionId": "txn_…", "providerId": "prv_…", "consumerId": "wal_…",
  "capabilityId": "cap_…", "amount": { "amountMinor": "100", "currency": "USD" }, "responseHash": "…",
  "status": "success", "timestamp": "…", "signature": "…", "signingKeyId": "…" }],
  "nextCursor": "rcp_…" }

nextCursor is present only when the page is full. Pass it as after to get the next page. An unknown cursor is refused.

GET/v1/receipts/:id

Scope receipts:read. One receipt, if it's yours (as buyer or seller).

GET/v1/transactions/:id/receipts

Scope receipts:read. Every receipt for a transaction: { receipts }. A failed-then-refunded call can have more than one.

See Receipts for what each field means and how to verify a signature.