Endpoints
Receipts
List and fetch signed receipts. Buyers see their purchases and sellers see their sales.
GET
/v1/receiptsScope receipts:read. Newest first. What you get depends on your key:
| Key | Returns |
|---|---|
| workspace | purchases across all your agent wallets |
| provider | your sales |
| Query | Notes |
|---|---|
limit | 1–200, default 50 |
after | a 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/:idScope receipts:read. One receipt, if it's yours (as buyer or seller).
GET
/v1/transactions/:id/receiptsScope 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.