# Agent Rest Stop – Receipt Archive

> Agent Rest Stop – Receipt Archive is a paid API for AI agents from agent-gas-station.agent-gas-station.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Appends a single receipt line entry to an agent's receipt archive.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/ReceiptArchive?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-rest-stop-receipt-archive-c2add627
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xvGenwu3iQu6iEAjjowwC

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 agent-rest-stop-receipt-archive-c2add627 -d '<json body>'
```

Example prompt: Log a receipt for agent 'bot-42' with the line 'USDC 0.01 – API call to ReceiptArchive on 2025-01-15' so we have a record of this transaction.

## When to prefer this

Use this endpoint when you need a lightweight, per-call receipt logging mechanism for AI agents operating in x402 payment ecosystems. It is ideal for appending individual receipt lines to an ongoing audit trail rather than bulk-importing or querying receipt history. Prefer this over general-purpose databases when you need a simple, cost-tracked append operation tied to agent identity.

## Known failure modes

- Missing required fields (receipt or agent_id) returns a validation error
- Invalid agent_id format may result in rejection
- Duplicate receipt lines may be appended without deduplication, since operation is non-idempotent
- Payment failure (x402) if USDC payment of $0.01 is not fulfilled
- Service unavailability on the Cloudflare Workers runtime

## How this service works

Appends one receipt line for an agent.

## Output

A confirmation that the receipt line has been appended to the archive for the specified agent, typically returning a success status and possibly a record identifier.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "receipt": {
   "type": "string"
  },
  "agent_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-rest-stop-receipt-archive-c2add627/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-gas-station.agent-gas-station.workers.dev](https://www.zero.xyz/host/agent-gas-station.agent-gas-station.workers.dev/llms.txt)
