Skip to content
Fourohtwo

Receipt PDF (PAID stamp, tx hash)

mpp-biz.fmf-x402.workers.dev/receipt/pdf

Receipt PDF (PAID stamp, tx hash) — Generate a receipt PDF with a PAID stamp, totals, amount paid and balance, plus an on-chain payment record (tx hash, date, explorer link) and the crypto payment details. Same JSON as /invoice/pdf. Returns application/pdf (format=json for base64). Price $0.01 per call.

BaseAnswering
POSThttps://mpp-biz.fmf-x402.workers.dev/receipt/pdf

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://mpp-biz.fmf-x402.workers.dev/receipt/pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"date":"2026-11-24","paid":{"date":"2026-11-24","tx_hash":"0x5c50...e1"},"buyer":{"name":"Client Co"},"items":[{"quantity":1,"unit_price":2500,"description":"Smart contract audit"},{"quantity":3,"unit_price":12.5,"description":"Gas reimbursement"}],"crypto":{"token":"USDC","address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148","network":"base"},"number":"R-1042","seller":{"name":"Acme Labs","emai),
});
console.log(await res.json());

Example input

{"date":"2026-11-24","paid":{"date":"2026-11-24","tx_hash":"0x5c50...e1"},"buyer":{"name":"Client Co"},"items":[{"quantity":1,"unit_price":2500,"description":"Smart contract audit"},{"quantity":3,"unit_price":12.5,"description":"Gas reimbursement"}],"crypto":{"token":"USDC","address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148","network":"base"},"number":"R-1042","seller":{"name":"Acme Labs","emai