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.

Full docs with copy-paste examples (mppx CLI, curl, TypeScript, Python, MCP).

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.

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