Business Docs & Data (MPP + x402): invoice/receipt PDFs with crypto QR, payment URIs, phone validation, barcodes - from $0.001

Card-only SaaS jobs, pay-per-call in stablecoins: invoice and receipt PDFs from JSON with a pay-in-crypto QR (EIP-681 USDC on Base/Ethereum/L2s, Solana Pay, bitcoin:) at $0.01; wallet payment-request URIs + QR at $0.001; phone-number validation, line type and formatting for 240+ regions (batch 100) at $0.001; barcodes (EAN/UPC, Code 128, GS1-128, DataMatrix, PDF417, QR, Aztec and more) as SVG at $0.002. Pure compute, nothing stored. Pay with MPP on Tempo (USDC.e/pathUSD) or x402 on Base (USDC). Invalid input returns 402 with the reason and is not charged.

No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.

Quickstart: Tempo Mainnet (chainId 4217) — USDC.e & pathUSD + Base x402

Invoice and receipt PDFs with a pay-in-crypto QR, phone-number validation and barcodes at $0.001–$0.01/call, zero API key. Pay per call with MPP on Tempo mainnet (chainId 4217, USDC.e or pathUSD) or x402 on Base (USDC).

npx mppx account create --network mainnet
# fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); `npx mppx account fund` is testnet-only
npx mppx https://mpp-biz.fmf-x402.workers.dev/invoice/pdf --network mainnet -J '{"number":"INV-1042","date":"2026-11-24","due_date":"2026-12-08","currency":"USDC","seller":{"name":"Acme Labs","email":"billing@acme.example"},"buyer":{"name":"Client Co"},"items":[{"description":"Smart contract audit","quantity":1,"unit_price":2500},{"description":"Gas reimbursement","quantity":3,"unit_price":12.5}],"tax_rate":13,"tax_label":"HST 13%","crypto":{"network":"base","token":"USDC","address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"}}'
npx mppx https://mpp-biz.fmf-x402.workers.dev/phone/validate --network mainnet -J '{"phones":["+1 416 555 0123","(213) 373-4253","+44 20 7946 0958"],"country":"US"}'
npx mppx https://mpp-biz.fmf-x402.workers.dev/crypto/pay-uri --network mainnet -J '{"network":"base","token":"USDC","address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148","amount":"25.50"}'

Unpaid requests get HTTP 402 with two Tempo mainnet offers (USDC.e 0x20C000000000000000000000b9537d11c60E8b50, pathUSD 0x20c0000000000000000000000000000000000000) and an x402 v2 offer on Base USDC. Recipient 0xB2070a4A874E7141E551890a3642bF7B24a1a148. Invalid input is not charged. More: docs · llms.txt · OpenAPI · all FMF Tempo mainnet APIs · comparison vs other paid APIs (llms-comparisons.txt, comparisons.json)

Routes

RoutePriceWhat you get
POST /invoice/pdf$0.01Invoice 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 for base64 + totals). Nothing stored.
POST /receipt/pdf$0.01Receipt 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).
POST /crypto/pay-uri$0.001Crypto payment request URI + QR (EIP-681, Solana Pay, BIP-21)
Build a wallet-scannable payment request: EIP-681 (ERC-20 transfer with exact base-unit amount, or native value) for Base/Ethereum/Arbitrum/Optimism/Polygon or any chain_id + token_address, Solana Pay (USDC SPL), or BIP-21 bitcoin:. Returns the URI, an SVG QR and the base-unit amount.
POST /phone/validate$0.001Phone number validation & formatting (batch 100)
Validate and normalize phone numbers for 240+ regions using Google libphonenumber metadata: valid/possible, E.164, country, calling code, line type (mobile, fixed_line, toll_free, voip, premium_rate...), international/national/RFC 3966 formats, extension. Up to 100 per call for the same price. No carrier or live-line lookup (no HLR); nothing stored.
POST /phone/extract$0.001Find & normalize phone numbers in text
Extract every phone number from free text (emails, pages, OCR output) with positions, validity, E.164, country, line type and formats.
POST /barcode/svg$0.002Barcode generator (EAN/UPC, Code 128, GS1-128, DataMatrix, PDF417, QR, Aztec...)
Render barcodes as crisp SVG with check digits computed and validated: Code 128, EAN-13, EAN-8, UPC-A, UPC-E, Code 39, Code 93, ITF-14, Interleaved 2 of 5, GS1-128, GS1 DataMatrix, Data Matrix, PDF417, QR Code, Aztec, ISBN, ISSN, Codabar, MSI, Pharmacode, POSTNET, GS1 Composite, MaxiCode, DotCode, rMQR, Micro QR. GS1 application identifiers supported ((01)...(17)...). Single code returns image/svg+xml; items[] (up to 20) or format=json returns JSON with SVG strings. Invalid data returns 402 with the reason and is not charged.

Copy-paste examples

These call POST /barcode/svg ($0.002) — Barcode generator (EAN/UPC, Code 128, GS1-128, DataMatrix, PDF417, QR, Aztec...). Swap the path for any other route in the table.

mppx CLI

npx mppx https://mpp-biz.fmf-x402.workers.dev/barcode/svg --network mainnet -J '{"type":"ean13","text":"590123412345"}'

Create a mainnet account once with npx mppx account create --network mainnet and fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); npx mppx account fund is testnet-only. The CLI then pays the 402 automatically. See mpp.dev/sdk.

curl (unpaid — shows the 402, not charged)

curl -i -X POST https://mpp-biz.fmf-x402.workers.dev/barcode/svg -H 'content-type: application/json' -d '{"type":"ean13","text":"590123412345"}'

TypeScript SDK (mppx)

import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

Mppx.create({
  methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})

// Global fetch now pays the 402 automatically.
const res = await fetch('https://mpp-biz.fmf-x402.workers.dev/barcode/svg', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"type":"ean13","text":"590123412345"}),
})
console.log(await res.json())

Python SDK (pympp)

# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo

account = TempoAccount.from_key("0x...")

async def main():
    async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
        response = await mpp.fetch("https://mpp-biz.fmf-x402.workers.dev/barcode/svg", method="POST", json={"type":"ean13","text":"590123412345"})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-biz": {
      "url": "https://mpp-biz.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://mpp-biz.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.

Sources and licences

No upstream data sources. pdf-lib (MIT), qrcode-generator (MIT), libphonenumber-js (MIT; metadata from Google libphonenumber, Apache-2.0), bwip-js / BWIPP (MIT).

Sister services