# Tollex Receipt Retrieval

> Tollex Receipt Retrieval is a paid API for AI agents from api.tollex.org, paid per call via x402, $0.0079/call, status unknown (last checked 2026-10-11).

Retrieves a signed payment receipt for a previously executed Tollex agent transaction by receipt ID

## Facts

- Endpoint: POST https://api.tollex.org/tools/receipt_get?utm_source=zero.xyz
- Price: $0.0079/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollex-receipt-retrieval-cadd8c15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VlPb4PDyNQxO-rxYroRz6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tollex-receipt-retrieval-cadd8c15 -d '<json body>'
```

Example prompt: Fetch the Tollex signed receipt for transaction ID 'rcp_X9kLmN3qPw7bT2vR' so I can confirm the USDC payment settled correctly.

## When to prefer this

Use this endpoint when you need to retrieve and verify a specific, already-executed Tollex payment transaction. It is the right choice for auditing agent spending, reconciling uncertain or in-flight payments, or producing proof-of-purchase receipts for a known receipt ID. Prefer this over generic payment lookup tools when the transaction was made through Tollex's x402 protocol on Base or Robinhood Chain.

## Known failure modes

- Receipt ID not found (invalid or expired ID returns 404-style error)
- Malformed receipt ID pattern fails schema validation (must match ^[A-Za-z0-9_-]{8,128}$)
- Payment still pending — receipt not yet finalized
- Insufficient funds or payment failed — no receipt generated
- Network or blockchain confirmation lag causing temporary unavailability

## How this service works

Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.

## Output

Returns a signed receipt object confirming the completed Tollex payment transaction, including payment amount in USDC or USDG, the chain used (Base or Robinhood Chain), policy-check status, and a cryptographic signature verifying settlement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "receiptId": {
   "type": "string",
   "pattern": "^[A-Za-z0-9_-]{8,128}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "receipt_get",
   "version": "1.0.0",
   "provider": "tollex.robinhood-chain"
  },
  "result": {
   "found": true,
   "batchId": null,
   "receipt": {
    "format": "eip712",
    "signer": "0x69d778C105b7f94Bde775d7ae94F1daa56DAA88F",
    "contentHash": "0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036"
   },
   "settlementState": "finalized"
  },
  "evidence": [],
  "untrustedOutput": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollex-receipt-retrieval-cadd8c15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollex.org](https://www.zero.xyz/host/api.tollex.org/llms.txt)
