Invoice PDF (with pay-in-crypto QR)
mpp-biz.fmf-x402.workers.dev/invoice/pdf
Invoice PDF (with pay-in-crypto QR) — Generate a clean, multi-page invoice PDF from JSON: seller/buyer blocks, line items with per-line tax, discount, shipping, totals and amount due; optional pay-with-crypto block with a scannable QR (EIP-681 for USDC/USDT/ETH on Base, Ethereum, Arbitrum, Optimism, Polygon; Solana Pay; bitcoin:) prefilled with the amount due. Returns application/pdf (format=json
POST
https://mpp-biz.fmf-x402.workers.dev/invoice/pdfUptimeNot checked yet
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/invoice/pdf", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"date":"2026-11-24","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":"INV-1042","seller":{"name":"Acme Labs","email":"billing@acme.example"},"currency":"USDC","due_d),
});
console.log(await res.json());Example input
{"date":"2026-11-24","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":"INV-1042","seller":{"name":"Acme Labs","email":"billing@acme.example"},"currency":"USDC","due_d