# Payment Receipt PDF Generator

> Payment Receipt PDF Generator is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.003732/call, status unknown (last checked 2026-09-14).

Generates a PDF payment receipt with transaction reference, payment method, and paid date as documented proof of payment

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-receipt-payment
- Price: $0.003732/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payment-receipt-pdf-generator-6f0ec713
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9_hfigCK9qWvnwJ5yPV50

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 payment-receipt-pdf-generator-6f0ec713 -d '<json body>'
```

Example prompt: Can you generate a formal PDF payment receipt for the transaction I just completed — reference number TXN-20240517-8842, paid via USDC on Base, amount $45.00, dated May 17 2024?

## When to prefer this

Choose this endpoint when you need a formally formatted, printable A4 PDF receipt as documented proof of payment — especially after crypto (USDC/on-chain) or fiat settlements where a human-readable receipt with transaction reference, payment method, and date is required for accounting, compliance, or client-facing purposes. Prefer this over generic document generators when the output must specifically resemble a payment receipt.

## Known failure modes

- Missing required payment details (transaction reference, date, or method) causing incomplete receipt generation
- Invalid or malformed input fields resulting in a generation error
- Payment via x402 fails due to insufficient USDC balance on Base
- Service timeout if the PDF generation takes longer than expected
- Malformed serviceId causing routing failure to the wrong endpoint

## How this service works

Payment receipt PDF generator — documented proof of payment with method, transaction reference and paid date on a real A4 receipt; payment proof API for agents settling in crypto or fiat. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-receipt-payment","request":"<input>"}.

## Output

A PDF document formatted as an A4 receipt containing the payment method, transaction reference number, paid date, and amount — serving as documented proof of payment suitable for accounting, client delivery, or expense records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payment-receipt-pdf-generator-6f0ec713/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
