# What you receive, file by file

The purchase delivers one JSON object with a `files` array. Every entry carries its path, byte count, SHA-256 hash and full UTF-8 contents. This list is generated from the archive that is actually served, so it cannot drift from what you get.

**18 files, 78,678 bytes**, product `paid-api-playbook` version 1.0.0.

- `README.md` — 1,190 bytes, sha256 `7e920e2c267d3002…`
- `playbook.md` — 4,699 bytes, sha256 `e84e89c3b0e713c5…`
- `execution-plan.json` — 2,939 bytes, sha256 `0307fec98ce43275…`
- `manifest.json` — 1,155 bytes, sha256 `8410283c93f53964…`
- `sources.md` — 976 bytes, sha256 `47ba1855cef6213e…`
- `tools/economics.mjs` — 2,100 bytes, sha256 `d0446a0d1e148453…`
- `examples/economics.json` — 254 bytes, sha256 `288d2a53db67b7a5…`
- `examples/request.json` — 102 bytes, sha256 `06fee85dbe33ccb6…`
- `examples/worked-example.md` — 1,150 bytes, sha256 `94d1c680e4e11065…`
- `template/package.json` — 394 bytes, sha256 `24cac484c0bff51b…`
- `template/package-lock.json` — 45,401 bytes, sha256 `346d89e82ef8b796…`
- `template/.env.example` — 286 bytes, sha256 `4c10ed5220f32973…`
- `template/openapi.json` — 3,057 bytes, sha256 `e6049ecea8f7e1f6…`
- `template/src/app.mjs` — 3,509 bytes, sha256 `e0d0861f19dbfece…`
- `template/src/config.mjs` — 1,338 bytes, sha256 `9f880bd3734a38ab…`
- `template/src/profile.mjs` — 1,995 bytes, sha256 `723c57177d57efdf…`
- `template/src/server.mjs` — 378 bytes, sha256 `6ccfee4b4aac162c…`
- `template/test/product.test.mjs` — 7,755 bytes, sha256 `e92d4088ae9391e2…`

## How to verify it

Hash the entire response body and compare it against the `X-Product-SHA256` response header. Then hash each file's `content` and compare with that file's `sha256`. Both checks should pass before you use anything.

## What the parts do

The playbook is the procedure to follow. The execution plan is the same procedure as JSON with explicit pass and stop conditions per step, so an agent can run it without re-reading prose. The template is a runnable Node.js x402 server with tests covering the paywall's failure paths. The calculator does exact-arithmetic unit economics in USDC micro-units. The worked example applies all of it to one small service.

See also [the integration guide](/guide) and [a worked purchase with real numbers](/example).
